php-doc-en/reference/apache/ini.xml
Jakub Vrana f052ac1bd7 Revert useless change in 326638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00

137 lines
3.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<section xml:id="apache.configuration" xmlns="http://docbook.org/ns/docbook">
&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="4">
<thead>
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>&Changelog;</entry>
</row>
</thead>
<tbody>
<row>
<entry><link linkend="ini.engine">engine</link></entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 4.0.5.</entry>
</row>
<row>
<entry><link linkend="ini.child-terminate">child_terminate</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 4.0.5.</entry>
</row>
<row>
<entry><link linkend="ini.last-modified">last_modified</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 4.0.5.</entry>
</row>
<row>
<entry><link linkend="ini.xbithack">xbithack</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 4.0.5.</entry>
</row>
</tbody>
</tgroup>
</table>
&ini.php.constants;
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry xml: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 xml: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 xml: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 xml: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:"~/.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
-->