cvs: phpdoc-zh /chapters config.xml
| From: | Shaolei Mu | Date: | Fri, 12 Jul 2002 03:50:40 +0000 |
| Subject: | cvs: phpdoc-zh /chapters config.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-54@lists.php.net to get a copy of this message | ||
verdana Thu Jul 11 23:50:40 2002 EDT
Modified files:
/phpdoc-zh/chapters config.xml
Log:
no message
Index: phpdoc-zh/chapters/config.xml
diff -u phpdoc-zh/chapters/config.xml:1.1 phpdoc-zh/chapters/config.xml:1.2
--- phpdoc-zh/chapters/config.xml:1.1 Thu Jul 11 22:36:30 2002
+++ phpdoc-zh/chapters/config.xml Thu Jul 11 23:50:40 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<chapter id="configuration">
<title>ÅäÖÃ</title>
@@ -13,31 +13,27 @@
£¬Ã¿´Îµ÷ÓýâÎöÆ÷¶¼»á¶ÁÈ¡ÅäÖÃÎļþ¡£
</simpara>
<para>
- The default location of &php.ini; is a compile time option (see the <link
- linkend="faq.installation.phpini">FAQ</link> entry), but can be changed
- for the <acronym>CGI</acronym> and <acronym>CLI</acronym> version with
the
- <literal>-c</literal> command line switch, see the chapter about using
- <literal>PHP</literal> from the <link
- linkend="features.commandline">command line</link>. You can also use the
- environment variable <literal>PHPRC</literal> for an additionaly path to
- search for &php.ini;.
+ &php.ini; ÎļþµÄĬÈÏλÖÃÊÇÒ»¸ö±àÒëʱѡÏÇë²ÎÕÕ
+ <link linkend="faq.installation.phpini">FAQ</link>£©£¬µ«¶ÔÓÚ
<acronym>CGI</acronym>
+ ºÍ <acronym>CLI</acronym> °æ±¾£¬¸ÃλÖÿÉÒÔͨ¹ýʹÓÃ
<literal>-c</literal> ÃüÁîÐпª¹Ø
+ À´¸Ä±ä£¬²ÎÕÕÓйØÕ½ڣº´Ó <link
linkend="features.commandline">ÃüÁîÐÐ</link> ʹÓÃ
+ <literal>PHP</literal>¡£ÄãÒ²¿ÉÒÔʹÓû·¾³±äÁ¿
<literal>PHPRC</literal> ×÷Ϊ¸½¼Ó·¾¶
+ ÒÔËÑѰ &php.ini;¡£
</para>
<para>
- Not every PHP directive is documented below. For a list of all directives,
- please read your well commented &php.ini; file. You may want to view the
- latest <ulink url="&url.php.cvs.phpini;">php.ini here</ulink> from
CVS.
+ ²¢²»ÊÇÿ¸ö PHP
Ö¸Áî¶¼±¸ÓÐÎĵµ¡£ÎªµÃµ½ËùÓÐÖ¸ÁîµÄÁÐ±í£¬ÇëÔĶÁÄúÊÖÖеÄ×¢ÊͺõÄ
&php.ini;
+ Îļþ¡£´Ó CVS Äú¿ÉÒԲ鿴µ½×îÐ嵀 <ulink
url="&url.php.cvs.phpini;">php.ini</ulink> Îļþ¡£
</para>
<note>
<para>
- The default value for the PHP directive
- <link linkend="ini.register-globals">register_globals</link> changed
from
- <emphasis>on</emphasis> to <emphasis>off</emphasis> in PHP
- <ulink url="&url.php.release4.2.0;">4.2.0</ulink>.
+ PHP Ö¸Áî <link linkend="ini.register-globals">register_globals</link>
µÄĬÈÏÖµ£¬
+ ÔÚ <ulink url="&url.php.release4.2.0">4.2.0</ulink>
°æ±¾ÖУ¬ÓÉ
+ <emphasis>on</emphasis> ÐÞ¸ÄΪ <emphasis>off</emphasis>¡£
</para>
</note>
<para>
<example>
- <title>&php.ini; example</title>
+ <title>&php.ini; ʾÀý</title>
<programlisting role="ini">
<![CDATA[
; any text on a line after an unquoted semicolon (;) is ignored
@@ -60,20 +56,18 @@
</para>
<simpara>
- When using PHP as an Apache module, you can also change the
- configuration settings using directives in Apache configuration
- files and .htaccess files (You will need "AllowOverride
- Options" or "AllowOverride All" privileges)</simpara>
+ µ±ÒÔ Apache Ä£¿é·½Ê½Ê¹Óà PHP ʱ£¬ÄúÒ²¿ÉÒÔʹÓà Apache
ÅäÖÃÎļþºÍ
+ .htaccess Îļþ£¨Äú½«ÐèÒª¡°AllowOverride Options¡±»òÕß¡°AllowOverride
All¡±
+ ȨÏÞ¡££©ÖеÄÖ¸ÁîÀ´¸Ä±ä PHP µÄÅäÖá£
+ </simpara>
<simpara>
- With PHP 3.0, there are Apache directives that correspond to each
- configuration setting in the <filename>php3.ini</filename> name,
- except the name is prefixed by "php3_".</simpara>
+ PHP 3.0 ÖУ¬Apache Ö¸ÁîÏ൱ÓÚ <filename>php3.ini</filename>
ÖеÄÖ¸Á
+ ²»Í¬µÄÊÇ£¬Apache Ö¸Áî´øÓÐǰ׺ ¡°php3_¡±¡£
+ </simpara>
<para>
- With PHP 4.0, there are several Apache directives that allow you
- to change the PHP configuration from within the Apache
- configuration file itself.
+ PHP 4.0 ÖУ¬Óм¸¸ö Apache Ö¸ÁîÔÊÐíÄúÔÚÆäÅäÖÃÎļþÖÐÐÞ¸Ä PHP
µÄÅäÖá£
<variablelist>
<varlistentry>
<term>
@@ -83,7 +77,7 @@
</term>
<listitem>
<para>
- This sets the value of the specified variable.</para>
+ ÉèÖÃÖ¸¶¨±äÁ¿µÄÖµ¡£</para>
</listitem>
</varlistentry>
<varlistentry>
@@ -94,7 +88,7 @@
</term>
<listitem>
<para>
- This is used to set a Boolean configuration option.</para>
+ ÓÃÓÚÉèÖÃÒ»¸ö Boolean ÅäÖÃÑ¡ÏîµÄÖµ¡£</para>
</listitem>
</varlistentry>
<varlistentry>
@@ -105,10 +99,8 @@
</term>
<listitem>
<para>
- This sets the value of the specified variable. "Admin"
- configuration settings can only be set from within the
- main Apache configuration files, and not from .htaccess
- files.</para>
+ ÉèÖÃÖ¸¶¨±äÁ¿µÄÖµ¡£¡°Admin¡±ÅäÖÃÖ¸ÁîÖ»ÄÜÔÚ Apache
Ö÷ÅäÖÃÎļþÖÐʹÓã¬
+ ÎÞ·¨ÓÃÓÚ .htaccess Îļþ¡£</para>
</listitem>
</varlistentry>
<varlistentry>
@@ -119,7 +111,7 @@
</term>
<listitem>
<para>
- This is used to set a Boolean configuration option.</para>
+ ÓÃÓÚÉèÖÃÒ»¸ö Boolean ÅäÖÃÑ¡ÏîµÄÖµ¡£</para>
</listitem>
</varlistentry>
</variablelist>
@@ -143,14 +135,12 @@
</para>
<simpara>
- You can view the settings of the configuration values in
- the output of <function>phpinfo</function>. You can also
- access the values of individual configuration settings using
- <function>get_cfg_var</function>.
+ Äú¿ÉÒÔͨ¹ý <function>phpinfo</function>
º¯ÊýµÄÊä³öÄÚÈݲ鿴ÅäÖÃÎļþÖÐÉèÖÃÑ¡ÏîµÄÖµ¡£
+ Ò²¿ÉÒÔʹÓà <function>get_cfg_var</function>
º¯Êý»ñÈ¡µ¥¶ÀÉèÖÃÑ¡ÏîµÄÖµ¡£
</simpara>
<sect2 id="ini.sect.general">
- <title>General Configuration Directives</title>
+ <title>Ö÷ÒªÅäÖÃÖ¸Áî</title>
<para>
<variablelist>
<varlistentry id="ini.allow-url-fopen">