Home  >  Article  >  Backend Development  >  Description of PHP compilation options --with and --enable

Description of PHP compilation options --with and --enable

巴扎黑
巴扎黑Original
2016-11-09 14:47:031850browse

Some people may ask, why some extensions are opened in the form of --enable-extname, while others are opened in the form of --with-extname? In fact, there is no essential difference between the two, except that enable mostly means that it can be compiled directly without relying on external libraries, while with mostly needs to rely on third-party libs. Now, our extension does not need to rely on other library files, so we can just use --enable.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn