SAPI options
The following list contains the available SAPI&s (Server Application Programming Interface) for PHP.
The following list contains the available SAPI&s (Server Application Programming Interface) for PHP.
--with-apxs[=FILE]Build shared Apache module. FILE is the optional pathname to the Apache apxs tool; defaults to apxs. Make sure you specify the version of apxs that is actually installed on your system and NOT the one that is in the apache source tarball.
--with-apache[=DIR]Build a static Apache module. DIR is the top-level Apache build directory, defaults to
/usr/local/apache.--with-mod_charsetEnable transfer tables for mod_charset (Russian Apache).
--with-apxs2[=FILE]Build shared Apache 2.0 module. FILE is the optional pathname to the Apache apxs tool; defaults to apxs.
--disable-cliDisable building the CLI version of PHP (this forces --without-pear). More information is available in the section about Using PHP from the command line.
--enable-phpdbgEnable phpdbg interactive debugger SAPI module support.
--enable-embed[=TYPE]Enable building of the embedded SAPI library. TYPE is either
sharedorstatic, which defaults toshared.--with-servlet[=DIR]Include servlet support. DIR is the base install directory for the JSDK. This SAPI requires the java extension must be built as a shared dl.
--disable-cgiDisable building CGI version of PHP.
This argument also enables FastCGI.