2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 06:30:45 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<section xml:id="apache.configuration" xmlns="http://docbook.org/ns/docbook">
|
2002-09-26 21:59:44 +00:00
|
|
|
&reftitle.runtime;
|
|
|
|
<para>
|
2003-02-18 18:03:57 +00:00
|
|
|
The behaviour of the Apache PHP module is affected by settings in &php.ini;.
|
2004-04-06 18:25:20 +00:00
|
|
|
Configuration settings from &php.ini; may be overridden by
|
|
|
|
<link linkend="configuration.changes.apache">php_flag</link> settings
|
2003-03-30 14:47:29 +00:00
|
|
|
in the server configuration file or local &htaccess; files.
|
2002-09-26 21:59:44 +00:00
|
|
|
</para>
|
|
|
|
<example>
|
2003-03-30 14:47:29 +00:00
|
|
|
<title>Turning off PHP parsing for a directory using &htaccess;</title>
|
2002-09-26 21:59:44 +00:00
|
|
|
<programlisting>php_flag engine off</programlisting>
|
|
|
|
</example>
|
|
|
|
<para>
|
|
|
|
<table>
|
|
|
|
<title>Apache configuration options</title>
|
2005-02-22 17:36:12 +00:00
|
|
|
<tgroup cols="4">
|
2002-09-26 21:59:44 +00:00
|
|
|
<thead>
|
|
|
|
<row>
|
2012-01-11 08:09:53 +00:00
|
|
|
<entry>&Name;</entry>
|
|
|
|
<entry>&Default;</entry>
|
|
|
|
<entry>&Changeable;</entry>
|
|
|
|
<entry>&Changelog;</entry>
|
2002-09-26 21:59:44 +00:00
|
|
|
</row>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<row>
|
2009-01-09 17:33:40 +00:00
|
|
|
<entry><link linkend="ini.engine">engine</link></entry>
|
2005-02-22 17:36:12 +00:00
|
|
|
<entry>"1"</entry>
|
2012-02-29 00:24:15 +00:00
|
|
|
<entry>PHP_INI_ALL</entry>
|
2019-06-11 13:21:49 +00:00
|
|
|
<entry></entry>
|
2002-09-26 21:59:44 +00:00
|
|
|
</row>
|
|
|
|
<row>
|
2009-01-09 17:33:40 +00:00
|
|
|
<entry><link linkend="ini.child-terminate">child_terminate</link></entry>
|
2005-02-22 17:36:12 +00:00
|
|
|
<entry>"0"</entry>
|
2012-02-29 00:24:15 +00:00
|
|
|
<entry>PHP_INI_ALL</entry>
|
2019-06-11 13:21:49 +00:00
|
|
|
<entry></entry>
|
2002-09-26 21:59:44 +00:00
|
|
|
</row>
|
|
|
|
<row>
|
2009-01-09 17:33:40 +00:00
|
|
|
<entry><link linkend="ini.last-modified">last_modified</link></entry>
|
2005-02-22 17:36:12 +00:00
|
|
|
<entry>"0"</entry>
|
2012-02-29 00:24:15 +00:00
|
|
|
<entry>PHP_INI_ALL</entry>
|
2019-06-11 13:21:49 +00:00
|
|
|
<entry></entry>
|
2002-09-26 21:59:44 +00:00
|
|
|
</row>
|
|
|
|
<row>
|
2009-01-09 17:33:40 +00:00
|
|
|
<entry><link linkend="ini.xbithack">xbithack</link></entry>
|
2005-02-22 17:36:12 +00:00
|
|
|
<entry>"0"</entry>
|
2012-02-29 00:24:15 +00:00
|
|
|
<entry>PHP_INI_ALL</entry>
|
2019-06-11 13:21:49 +00:00
|
|
|
<entry></entry>
|
2002-09-26 21:59:44 +00:00
|
|
|
</row>
|
|
|
|
</tbody>
|
|
|
|
</tgroup>
|
|
|
|
</table>
|
2005-02-15 09:46:10 +00:00
|
|
|
&ini.php.constants;
|
2002-09-26 21:59:44 +00:00
|
|
|
</para>
|
2003-05-01 21:52:58 +00:00
|
|
|
|
|
|
|
&ini.descriptions.title;
|
|
|
|
|
2002-09-26 21:59:44 +00:00
|
|
|
<para>
|
2004-07-21 07:57:00 +00:00
|
|
|
<variablelist>
|
2007-06-20 22:25:43 +00:00
|
|
|
<varlistentry xml:id="ini.engine">
|
2004-07-21 07:57:00 +00:00
|
|
|
<term>
|
|
|
|
<parameter>engine</parameter>
|
2020-11-02 15:39:04 +00:00
|
|
|
<type>bool</type>
|
2004-07-21 07:57:00 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2004-07-21 08:40:46 +00:00
|
|
|
Turns PHP parsing on or off.
|
2004-07-21 07:57:00 +00:00
|
|
|
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>
|
2007-06-20 22:25:43 +00:00
|
|
|
<varlistentry xml:id="ini.child-terminate">
|
2004-07-21 08:40:46 +00:00
|
|
|
<term>
|
|
|
|
<parameter>child_terminate</parameter>
|
2020-11-02 15:39:04 +00:00
|
|
|
<type>bool</type>
|
2004-07-21 08:40:46 +00:00
|
|
|
</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>
|
2007-06-20 22:25:43 +00:00
|
|
|
<varlistentry xml:id="ini.last-modified">
|
2004-07-21 08:40:46 +00:00
|
|
|
<term>
|
|
|
|
<parameter>last_modified</parameter>
|
2020-11-02 15:39:04 +00:00
|
|
|
<type>bool</type>
|
2004-07-21 08:40:46 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Send PHP scripts modification date as Last-Modified: header for this request.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2007-06-20 22:25:43 +00:00
|
|
|
<varlistentry xml:id="ini.xbithack">
|
2004-07-21 08:40:46 +00:00
|
|
|
<term>
|
|
|
|
<parameter>xbithack</parameter>
|
2020-11-02 15:39:04 +00:00
|
|
|
<type>bool</type>
|
2004-07-21 08:40:46 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Parse files with executable bit set as PHP regardless of their file ending.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2004-07-21 07:57:00 +00:00
|
|
|
</variablelist>
|
2002-09-26 21:59:44 +00:00
|
|
|
</para>
|
2004-07-21 08:40:46 +00:00
|
|
|
|
2002-09-26 21:59:44 +00:00
|
|
|
</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
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2002-09-26 21:59:44 +00:00
|
|
|
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
|
|
|
|
-->
|