Home > Article > Backend Development > Description of PHP compilation options --with and --enable
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.