1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317
|
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 297028 $ -->
<sect3 xml:id="configure.options.servers" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>SAPI options</title>
<para>
The following list contains the available SAPI&s (<literal>Server
Application Programming Interface</literal>) for PHP.
</para>
<variablelist>
<varlistentry xml:id="configure.with-aolserver">
<term>
<option role="configure">--with-aolserver=DIR</option>
</term>
<listitem>
<para>
Specify path to the installed AOLserver.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-apxs">
<term>
<option role="configure">--with-apxs[=FILE]</option>
</term>
<listitem>
<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.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-apache">
<term>
<option role="configure">--with-apache[=DIR]</option>
</term>
<listitem>
<para>
Build a static Apache module. DIR is the top-level Apache build directory,
defaults to <filename>/usr/local/apache</filename>.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-mod-charset">
<term>
<option role="configure">--with-mod_charset</option>
</term>
<listitem>
<para>
Enable transfer tables for mod_charset (Russian Apache).
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-apxs2">
<term>
<option role="configure">--with-apxs2[=FILE]</option>
</term>
<listitem>
<para>
Build shared Apache 2.0 module. FILE is the optional pathname to the Apache
apxs tool; defaults to apxs.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-caudium">
<term>
<option role="configure">--with-caudium=DIR</option>
</term>
<listitem>
<para>
Build PHP as a Pike module for use with Caudium. DIR is the Caudium server
dir, with the default value <filename>/usr/local/caudium/server</filename>.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.disable-cli">
<term>
<option role="configure">--disable-cli</option>
</term>
<listitem>
<para>
Available with PHP 4.3.0. Disable building the CLI version of PHP (this
forces <link linkend="configure.without-pear">--without-pear</link>).
More information is available in the section about
<link linkend="features.commandline">Using PHP from the command line</link>.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.enable-embed">
<term>
<option role="configure">--enable-embed[=TYPE]</option>
</term>
<listitem>
<para>
Enable building of the embedded SAPI library. TYPE is either
<literal>shared</literal> or <literal>static</literal>, which
defaults to <literal>shared</literal>. Available with PHP 4.3.0.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-fhttpd">
<term>
<option role="configure">--with-fhttpd[=DIR]</option>
</term>
<listitem>
<para>
Build fhttpd module. DIR is the fhttpd sources directory, defaults to
<filename>/usr/local/src/fhttpd</filename>. No longer available as of PHP
4.3.0.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-isapi">
<term>
<option role="configure">--with-isapi=DIR</option>
</term>
<listitem>
<para>
Build PHP as an ISAPI module for use with Zeus.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-nsapi">
<term>
<option role="configure">--with-nsapi=DIR</option>
</term>
<listitem>
<para>
Specify path to the installed Netscape/iPlanet/SunONE Webserver.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-phttpd">
<term>
<option role="configure">--with-phttpd=DIR</option>
</term>
<listitem>
<para>
No information yet.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-pi3web">
<term>
<option role="configure">--with-pi3web=DIR</option>
</term>
<listitem>
<para>
Build PHP as a module for use with Pi3Web.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-roxen">
<term>
<option role="configure">--with-roxen=DIR</option>
</term>
<listitem>
<para>
Build PHP as a Pike module. DIR is the base Roxen directory, normally
<filename>/usr/local/roxen/server</filename>.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.enable-roxen-zts">
<term>
<option role="configure">--enable-roxen-zts</option>
</term>
<listitem>
<para>
Build the Roxen module using Zend Thread Safety.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-servlet">
<term>
<option role="configure">--with-servlet[=DIR]</option>
</term>
<listitem>
<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.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-thttpd">
<term>
<option role="configure">--with-thttpd=SRCDIR</option>
</term>
<listitem>
<para>
Build PHP as thttpd module.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-tux">
<term>
<option role="configure">--with-tux=MODULEDIR</option>
</term>
<listitem>
<para>
Build PHP as a TUX module (Linux only).
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-webjames">
<term>
<option role="configure">--with-webjames=SRCDIR</option>
</term>
<listitem>
<para>
Build PHP as a WebJames module (RISC OS only)
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.disable-cgi">
<term>
<option role="configure">--disable-cgi</option>
</term>
<listitem>
<para>
Disable building CGI version of PHP. Available with PHP 4.3.0.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.enable-force-cgi-redirect">
<term>
<option role="configure">--enable-force-cgi-redirect</option>
</term>
<listitem>
<para>
Enable the security check for internal server redirects. You should use
this if you are running the CGI version with Apache.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.enable-discard-path">
<term>
<option role="configure">--enable-discard-path</option>
</term>
<listitem>
<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 &htaccess;
security.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.with-fastcgi">
<term>
<option role="configure">--with-fastcgi</option>
</term>
<listitem>
<para>
Build PHP as FastCGI application. No longer available as of PHP 4.3.0,
instead you should use <option role="configure">--enable-fastcgi</option>.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.enable-fastcgi">
<term>
<option role="configure">--enable-fastcgi</option>
</term>
<listitem>
<para>
If this is enabled, the CGI module will be built with support for FastCGI
also. Available since PHP 4.3.0
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.disable-path-info-check">
<term>
<option role="configure">--disable-path-info-check</option>
</term>
<listitem>
<para>
If this is disabled, paths such as <filename>/info.php/test?a=b</filename>
will fail to work. Available since PHP 4.3.0.
For more information see the
<link xlink:href="&url.apache.core;#acceptpathinfo">Apache Manual</link>.
</para>
</listitem>
</varlistentry>
</variablelist>
</sect3>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
|