📄 configure.html
字号:
<p class="para"> Enable magic quotes by default. </p> </dd> </dt> <dt id="configure.disable-short-tags"> <span class="term"> <span class="option">--disable-short-tags</span> </span> <dd> <p class="para"> Disable the short-form <? start tag by default. </p> </dd> </dt> </dl> </div> <div id="configure.options.servers" class="sect3"> <h4 class="title">SAPI options</h4> <p class="para"> The following list contains the available SAPI&s (<i>Server Application Programming Interface</i>) for PHP. </p> <dl> <dt id="configure.with-aolserver"> <span class="term"> <span class="option">--with-aolserver=DIR</span> </span> <dd> <p class="para"> Specify path to the installed AOLserver. </p> </dd> </dt> <dt id="configure.with-apxs"> <span class="term"> <span class="option">--with-apxs[=FILE]</span> </span> <dd> <p class="para"> 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. </p> </dd> </dt> <dt id="configure.with-apache"> <span class="term"> <span class="option">--with-apache[=DIR]</span> </span> <dd> <p class="para"> Build a static Apache module. DIR is the top-level Apache build directory, defaults to <var class="filename">/usr/local/apache</var>. </p> </dd> </dt> <dt id="configure.with-mod_charset"> <span class="term"> <span class="option">--with-mod_charset</span> </span> <dd> <p class="para"> Enable transfer tables for mod_charset (Russian Apache). </p> </dd> </dt> <dt id="configure.with-apxs2"> <span class="term"> <span class="option">--with-apxs2[=FILE]</span> </span> <dd> <p class="para"> Build shared Apache 2.0 module. FILE is the optional pathname to the Apache apxs tool; defaults to apxs. </p> </dd> </dt> <dt id="configure.with-caudium"> <span class="term"> <span class="option">--with-caudium=DIR</span> </span> <dd> <p class="para"> Build PHP as a Pike module for use with Caudium. DIR is the Caudium server dir, with the default value <var class="filename">/usr/local/caudium/server</var>. </p> </dd> </dt> <dt id="configure.disable-cli"> <span class="term"> <span class="option">--disable-cli</span> </span> <dd> <p class="para"> Available with PHP 4.3.0. Disable building the CLI version of PHP (this forces <a href="configure.html#configure.without-pear" class="link">--without-pear</a>). More information is available in the section about <a href="features.commandline.html" class="link">Using PHP from the command line</a>. </p> </dd> </dt> <dt id="configure.enable-embed"> <span class="term"> <span class="option">--enable-embed[=TYPE]</span> </span> <dd> <p class="para"> Enable building of the embedded SAPI library. TYPE is either <i>shared</i> or <i>static</i>, which defaults to <i>shared</i>. Available with PHP 4.3.0. </p> </dd> </dt> <dt id="configure.with-fhttpd"> <span class="term"> <span class="option">--with-fhttpd[=DIR]</span> </span> <dd> <p class="para"> Build fhttpd module. DIR is the fhttpd sources directory, defaults to <var class="filename">/usr/local/src/fhttpd</var>. No longer available as of PHP 4.3.0. </p> </dd> </dt> <dt id="configure.with-isapi"> <span class="term"> <span class="option">--with-isapi=DIR</span> </span> <dd> <p class="para"> Build PHP as an ISAPI module for use with Zeus. </p> </dd> </dt> <dt id="configure.with-nsapi"> <span class="term"> <span class="option">--with-nsapi=DIR</span> </span> <dd> <p class="para"> Specify path to the installed Netscape/iPlanet/SunONE Webserver. </p> </dd> </dt> <dt id="configure.with-phttpd"> <span class="term"> <span class="option">--with-phttpd=DIR</span> </span> <dd> <p class="para"> No information yet. </p> </dd> </dt> <dt id="configure.with-pi3web"> <span class="term"> <span class="option">--with-pi3web=DIR</span> </span> <dd> <p class="para"> Build PHP as a module for use with Pi3Web. </p> </dd> </dt> <dt id="configure.with-roxen"> <span class="term"> <span class="option">--with-roxen=DIR</span> </span> <dd> <p class="para"> Build PHP as a Pike module. DIR is the base Roxen directory, normally <var class="filename">/usr/local/roxen/server</var>. </p> </dd> </dt> <dt id="configure.enable-roxen-zts"> <span class="term"> <span class="option">--enable-roxen-zts</span> </span> <dd> <p class="para"> Build the Roxen module using Zend Thread Safety. </p> </dd> </dt> <dt id="configure.with-servlet"> <span class="term"> <span class="option">--with-servlet[=DIR]</span> </span> <dd> <p class="para"> 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. </p> </dd> </dt> <dt id="configure.with-thttpd"> <span class="term"> <span class="option">--with-thttpd=SRCDIR</span> </span> <dd> <p class="para"> Build PHP as thttpd module. </p> </dd> </dt> <dt id="configure.with-tux"> <span class="term"> <span class="option">--with-tux=MODULEDIR</span> </span> <dd> <p class="para"> Build PHP as a TUX module (Linux only). </p> </dd> </dt> <dt id="configure.with-webjames"> <span class="term"> <span class="option">--with-webjames=SRCDIR</span> </span> <dd> <p class="para"> Build PHP as a WebJames module (RISC OS only) </p> </dd> </dt> <dt id="configure.disable-cgi"> <span class="term"> <span class="option">--disable-cgi</span> </span> <dd> <p class="para"> Disable building CGI version of PHP. Available with PHP 4.3.0. </p> </dd> </dt> <dt id="configure.enable-force-cgi-redirect"> <span class="term"> <span class="option">--enable-force-cgi-redirect</span> </span> <dd> <p class="para"> Enable the security check for internal server redirects. You should use this if you are running the CGI version with Apache. </p> </dd> </dt> <dt id="configure.enable-discard-path"> <span class="term"> <span class="option">--enable-discard-path</span> </span> <dd> <p class="para"> If this is enabled, the PHP CGI binary can safely be placed outside of the web tree and people will not be able to circumvent <var class="filename">.htaccess</var> security. </p> </dd> </dt> <dt id="configure.with-fastcgi"> <span class="term"> <span class="option">--with-fastcgi</span> </span> <dd> <p class="para"> Build PHP as FastCGI application. No longer available as of PHP 4.3.0, instead you should use <span class="option">--enable-fastcgi</span>. </p> </dd> </dt> <dt id="configure.enable-fastcgi"> <span class="term"> <span class="option">--enable-fastcgi</span> </span> <dd> <p class="para"> If this is enabled, the CGI module will be built with support for FastCGI also. Available since PHP 4.3.0 </p> </dd> </dt> <dt id="configure.disable-path-info-check"> <span class="term"> <span class="option">--disable-path-info-check</span> </span> <dd> <p class="para"> If this is disabled, paths such as <var class="filename">/info.php/test?a=b</var> will fail to work. Available since PHP 4.3.0. For more information see the <a href="http://httpd.apache.org/docs/2.0/en/mod/core.html#acceptpathinfo" class="link external">» Apache Manual</a>. </p> </dd> </dt> </dl> </div> </div> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="debugger.html">Debugging in PHP</a></div> <div class="next" style="text-align: right; float: right;"><a href="ini.html">php.ini directives</a></div> <div class="up"><a href="appendices.html">Appendices</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -