new extension structure applied, documentation for the

apache 1.x sapi specific php.ini options added ...


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@96048 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hartmut Holzgraefe 2002-09-18 11:01:32 +00:00
parent 801c63a34e
commit 7e8870316b

View file

@ -1,12 +1,91 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<reference id="ref.apache">
<title>Apache-specific Functions</title>
<titleabbrev>Apache</titleabbrev>
<partintro>
<para>
These functions are only available when running PHP as an Apache module.
</para>
<section id="apache.intro">
&reftitle.intro;
<para>
These functions are only available when running PHP as an Apache 1.x module.
</para>
</section>
<section id="apache.installation">
&reftitle.install;
<para>
For PHP installation on Apache 1.x see the
<link linkend='install.apache'>Apache section</link> in the installation
chapter.
</para>
</section>
<section id="apache.configuration">
&reftitle.runtime;
<para>
The behaviour of the Apache PHP module is affected by settings in php.ini.
Configuration settings from &php.ini; may be overridden by php_flag settings
in the server configuration file or local <filename>.htaccess</filename> files.
</para>
<example>
<title>Turning off PHP parsing for a directory using <filename>.htaccess</filename></title>
<programlisting>php_flag engine off</programlisting>
</example>
<para>
<table>
<title>Apache configuration options</title>
<tgroup cols="3">
<thead>
<row>
<entry>Name</entry>
<entry>Default</entry>
<entry>Changeable</entry>
<entry>Function</entry>
</row>
</thead>
<tbody>
<row>
<entry>engine</entry>
<entry>On</entry>
<entry>PHP_INI_ALL</entry>
<entry>turns PHP parsing on or off</entry>
</row>
<row>
<entry>child_terminate</entry>
<entry>Off</entry>
<entry>PHP_INI_ALL</entry>
<entry>
specify whether PHP scripts may request child process termination on end of request,
see also <function>apache_child_terminate</function>
</entry>
</row>
<row>
<entry>last_modified</entry>
<entry>Off</entry>
<entry>PHP_INI_ALL</entry>
<entry>send PHP scripts modification date as Last-Modified: header for this request</entry>
</row>
<row>
<entry>xbit_hack</entry>
<entry>Off</entry>
<entry>PHP_INI_ALL</entry>
<entry>parse files with executable bit set as PHP regardles of their file ending</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</section>
<section id="apache.resources">
&reftitle.resources;
&no.resource;
</section>
<section id="apache.constants">
&reftitle.constants;
&no.constants;
</section>
</partintro>
&reference.apache.functions;