cvs: phpdoc-zh /reference/apache ini.xml
| From: | Dallas Thunder | Date: | Fri, 19 Aug 2005 15:26:29 +0000 |
| Subject: | cvs: phpdoc-zh /reference/apache ini.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2451@lists.php.net to get a copy of this message | ||
dallas Fri Aug 19 11:26:29 2005 EDT
Modified files:
/phpdoc-zh/reference/apache ini.xml
Log:
Updated, not completed.
http://cvs.php.net/diff.php/phpdoc-zh/reference/apache/ini.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc-zh/reference/apache/ini.xml
diff -u phpdoc-zh/reference/apache/ini.xml:1.6 phpdoc-zh/reference/apache/ini.xml:1.7
--- phpdoc-zh/reference/apache/ini.xml:1.6 Thu May 8 18:46:44 2003
+++ phpdoc-zh/reference/apache/ini.xml Fri Aug 19 11:26:29 2005
@@ -1,12 +1,14 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready -->
+<!-- EN-Revision: 1.11 Maintainer: dallas Status: partial -->
<section id="apache.configuration">
&reftitle.runtime;
<para>
Apache µÄ PHP Ä£¿éµÄÐÐΪÊÜ &php.ini; µÄÉèÖÃÓ°Ïì¡£ÔÚ &php.ini;
- ÖеÄÉèÖÿÉÒÔ±»·þÎñÆ÷ÅäÖÃÎļþ»ò±¾µØµÄ &htaccess;
ÎļþËù¸²¸Ç¡£
+ ÖеÄÉèÖÿÉÒÔ±»·þÎñÆ÷ÅäÖÃÎļþ»ò±¾µØµÄ &htaccess;
ÎļþÖеÄ
+ <link linkend="configuration.changes.apache">php_flag</link>
+ ÉèÖÃËù¸²¸Ç¡£
</para>
<example>
<title>Óà &htaccess; ½ûÓÃÒ»¸öĿ¼µÄ PHP ½âÎö</title>
@@ -15,64 +17,104 @@
<para>
<table>
<title>Apache ÅäÖÃÑ¡Ïî</title>
- <tgroup cols="3">
+ <tgroup cols="4">
<thead>
<row>
<entry>Ãû³Æ</entry>
<entry>ĬÈÏÖµ</entry>
- <entry>×÷Ó÷¶Î§</entry>
- <entry>¹¦ÄÜ</entry>
+ <entry>¿ÉÐ޸ķ¶Î§</entry>
+ <entry>¸üмǼ</entry>
</row>
</thead>
<tbody>
<row>
<entry>engine</entry>
- <entry>On</entry>
+ <entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
- <entry>ÆôÓûò½ûÓà PHP ½âÎö</entry>
+ <entry>×Ô PHP 4.0.5 Æð¿ÉÓÃ</entry>
</row>
<row>
<entry>child_terminate</entry>
- <entry>Off</entry>
+ <entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
- <entry>
- Ö¸¶¨ PHP
½Å±¾ÊÇ·ñ¿ÉÒÔÒªÇó×Ó½ø³ÌÔÚÇëÇó½áÊøÊ±ÖÕÖ¹£¬²Î¼û
<function>apache_child_terminate</function>
- </entry>
+ <entry>×Ô PHP 4.0.5 Æð¿ÉÓÃ</entry>
</row>
<row>
<entry>last_modified</entry>
- <entry>Off</entry>
+ <entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
- <entry>ÔÚ´ËÇëÇóÖн« PHP
½Å±¾µÄ×îºóÐÞ¸Äʱ¼äÒÔÍ·ÐÅÏ¢ Last-Modified:
µÄÐÎʽ·¢ËÍ</entry>
+ <entry>×Ô PHP 4.0.5 Æð¿ÉÓÃ</entry>
</row>
<row>
<entry>xbithack</entry>
- <entry>Off</entry>
+ <entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
- <entry>ÈÃ PHP
²»¹ÜÎļþÊÇ·ñ½áÊø¶ø½«Îļþ×÷Ϊ¿ÉÖ´ÐеıÈÌØ¼¯À´½âÎö</entry>
+ <entry>×Ô PHP 4.0.5 Æð¿ÉÓÃ</entry>
</row>
</tbody>
</tgroup>
</table>
+ &ini.php.constants;
</para>
+
&ini.descriptions.title;
+
<para>
- <variablelist>
- <varlistentry id="ini.engine">
- <term>
- <parameter>engine</parameter>
- <type>boolean</type>
- </term>
- <listitem>
- <para>
- ±¾Ö¸ÁîÖ»ÔÚ PHP µÄ Apache
Ä£¿é°æÖвÅÓÐÓá£ÓеÄÍøÕ¾Ï£Íû¸ù¾Ý¸ö±ðĿ¼»òÕ߸ö±ðÐéÄâÖ÷»úÀ´´ò¿ª»òÕ߹رÕ
- PHP ½âÎö¡£ÔÚ &httpd.conf; ÎļþÖеÄÊʵ±Î»Ö÷ÅÉÏ
- <userinput>engine off</userinput> ¾Í¿ÉÒÔ¼¤»î»òÕß¹Ø±Õ PHP¡£
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
+ <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