php-doc-en/reference/apache/ini.xml
Andy Lindeman f723b039bc fixing bug #23547
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@126284 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-08 20:50:27 +00:00

104 lines
2.7 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<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 &htaccess; files.
</para>
<example>
<title>Turning off PHP parsing for a directory using &htaccess;</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>xbithack</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>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry id="ini.engine">
<term>
<parameter>engine</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
This directive is really only useful in the Apache module
version of PHP. It is used by sites that would like to turn
PHP parsing on and off on a per-directory or per-virtual
server basis. By putting <userinput>engine off</userinput>
in the appropriate places in the &httpd.conf; file, PHP can
be enabled or disabled.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>
<!-- 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:"../../../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
-->