php-doc-en/reference/apache/ini.xml
Jakub Vrana 2e3cff0476 Made consistent with other Configuration parts
Enables automatic linking from ini_set


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163853 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-21 08:40:46 +00:00

133 lines
3.4 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<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
<link linkend="configuration.changes.apache">php_flag</link> 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>
</row>
</thead>
<tbody>
<row>
<entry>engine</entry>
<entry>On</entry>
<entry>PHP_INI_ALL</entry>
</row>
<row>
<entry>child_terminate</entry>
<entry>Off</entry>
<entry>PHP_INI_ALL</entry>
</row>
<row>
<entry>last_modified</entry>
<entry>Off</entry>
<entry>PHP_INI_ALL</entry>
</row>
<row>
<entry>xbithack</entry>
<entry>Off</entry>
<entry>PHP_INI_ALL</entry>
</row>
</tbody>
</tgroup>
</table>
For further details and definition of the PHP_INI_* constants see
<function>ini_set</function>.
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry id="ini.engine">
<term>
<parameter>engine</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Turns PHP parsing on or off.
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>
<varlistentry id="ini.child-terminate">
<term>
<parameter>child_terminate</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Specify whether PHP scripts may request child process termination on end of request,
see also <function>apache_child_terminate</function>.
</para>
</listitem>
</varlistentry>
<varlistentry id="ini.last-modified">
<term>
<parameter>last_modified</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Send PHP scripts modification date as Last-Modified: header for this request.
</para>
</listitem>
</varlistentry>
<varlistentry id="ini.xbithack">
<term>
<parameter>xbithack</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Parse files with executable bit set as PHP regardless of their file ending.
</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
-->