cvs: phpdoc-zh /chapters config.xml

From: Date: Wed, 05 Mar 2003 10:16:52 +0000
Subject: cvs: phpdoc-zh /chapters config.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-1180@lists.php.net to get a copy of this message
dallas Wed Mar 5 05:16:52 2003 EDT Modified files: /phpdoc-zh/chapters config.xml Log: Translation completed.

Index: phpdoc-zh/chapters/config.xml diff -u phpdoc-zh/chapters/config.xml:1.16 phpdoc-zh/chapters/config.xml:1.17 --- phpdoc-zh/chapters/config.xml:1.16 Mon Feb 17 04:25:01 2003 +++ phpdoc-zh/chapters/config.xml Wed Mar 5 05:16:52 2003 @@ -1,47 +1,48 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> -<!-- $Author: gregory $ --> -<!-- EN-Revision: 1.93 Maintainer: Gregory Status: working --> +<?xml version="1.0" encoding="gb2312"?> +<!-- $Revision: 1.17 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.93 Maintainer: dallas Status: ready --> <chapter id="configuration"> - <title>Configuration</title> + <title>ÅäÖÃ</title> <sect1 id="configuration.file"> <title>The configuration file</title> <simpara> - The configuration file (called <filename>php3.ini</filename> in - PHP 3.0, and simply &php.ini; as of PHP 4.0) - is read when PHP starts up. For the server module versions of PHP, - this happens only once when the web server is started. For the - <acronym>CGI</acronym> and <acronym>CLI</acronym> version, it happens on - every invocation. + µ± PHP Æô¶¯Ê±»á¶ÁÈ¡ÅäÖÃÎļþ£¨ÔÚ PHP 3.0 ÖгÆÎª + <filename>php3.ini</filename>£¬ÔÚ PHP 4.0 Öмò»¯Îª + &php.ini;£©¡£¶ÔÓÚ·þÎñÆ÷Ä£¿é°æ±¾µÄ PHP ½öÔÚ web ·þÎñÆ÷Æô¶¯Ê±¶Áȡһ´Î¡£¶ÔÓÚ + <acronym>CGI</acronym> ºÍ <acronym>CLI</acronym> + °æ±¾£¬Ã¿´Îµ÷Óö¼»á¶ÁÈ¡¡£ </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 additional path to - search for a &php.ini; file. + &php.ini; µÄĬÈÏλÖÃÊÇÔÚ±àÒëʱ¾ö¶¨µÄ£¨¼û<link + linkend="faq.installation.phpini">³£¼ûÎÊÌâ - °²×°</link>£©£¬µ«ÊǶÔÓÚ + <acronym>CGI</acronym> ºÍ <acronym>CLI</acronym> + °æ±¾¿ÉÒÔͨ¹ýÃüÁîÐпª¹Ø + <literal>-c</literal> À´¸Ä±ä£¬¼û + <literal>PHP</literal> µÄ<link + linkend="features.commandline">ÃüÁîÐз½Ê½</link>Ò»Õ¡£Ò²¿ÉÒÔÓû·¾³±äÁ¿ + <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 <ulink url="&url.php.release4.2.0;">4.2.0</ulink> + Öн« + <link linkend="ini.register-globals">register_globals</link> + µÄĬÈÏÖµ´Ó + <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 @@ -65,32 +66,31 @@ </sect1> <sect1 id="configuration.changes"> - <title>How to change configuration settings</title> + <title>ÔõÑù¸Ä±äÅäÖÃÑ¡Ïî</title> <sect2 id="configuration.changes.apache"> - <title>Running <literal>PHP</literal> as Apache module</title> + <title>ÒÔ Apache Ä£¿é·½Ê½ÔËÐÐ <literal>PHP</literal></title> <simpara> - When using PHP as an Apache module, you can also change the - configuration settings using directives in Apache configuration - files (e.g. <filename>httpd.conf</filename>) and - <filename>.htaccess</filename> files (You will need - "AllowOverride Options" or "AllowOverride All" privileges) + µ±ÒÔ Apache µÄÄ£¿é·½Ê½ÔËÐÐ PHP ʱ£¬Ò²¿ÉÒÔͨ¹ý Apache + µÄÅäÖÃÎļþ£¨ÀýÈç <filename>httpd.conf</filename>£©ºÍ + <filename>.htaccess</filename> + ÎļþÖеÄÖ¸ÁîÀ´ÐÞ¸Ä PHP µÄÅäÖÃÑ¡ÏÐèÒª + "AllowOverride Options" »ò "AllowOverride All" ȨÏÞ£©¡£ </simpara> <para> - With PHP 4.0, there are several Apache directives that allow you - to change the PHP configuration from within the Apache configuration - files. For a listing of which directives are - <constant>PHP_INI_ALL</constant>, <constant>PHP_INI_PERDIR</constant>, - or <constant>PHP_INI_SYSTEM</constant>, have a look at the table - found within the <function>ini_set</function> documentation. + ÔÚ PHP 4.0 ÖУ¬Óм¸¸ö Apache Ö¸Áî¿ÉÒÔÔÊÐíÔÚ Apache + µÄÅäÖÃÎļþÖÐÐÞ¸Ä PHP µÄÅäÖá£ÒªµÃµ½ÄÇЩָÁî·Ö±ðÊôÓÚ + <constant>PHP_INI_ALL</constant>£¬<constant>PHP_INI_PERDIR</constant> »ò + <constant>PHP_INI_SYSTEM</constant> + µÄÁÐ±í£¬Çë¿´ <function>ini_set</function> ÎĵµÖÐµÄ±í¡£ </para> <note> <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_". + ÔÚ PHP 3.0 ÖУ¬Ò²ÓÐºÍ + <filename>php3.ini</filename> ÖÐÑ¡ÏîÏà¶ÔÓ¦µÄ + Apache Ö¸Áֻ²»¹ý¼ÓÉÏǰ׺¡°php3_¡±¡£ </simpara> </note> @@ -104,9 +104,9 @@ </term> <listitem> <para> - Sets the value of the specified directive. - Can be used only with PHP_INI_ALL and PHP_INI_PERDIR type directives. - To clear a previously set value use <literal>none</literal> as the value. + É趨ָ¶¨Ö¸ÁîµÄÖµ¡£½öÄÜÓÃÓÚ + PHP_INI_ALL ºÍ PHP_INI_PERDIR + ÀàÐ͵ÄÖ¸Áî¡£ÒªÇå³ýÉÏÒ»¸öÉ趨µÄÖµ£¬½«ÖµÉèΪ <literal>none</literal>¡£ <informalexample> <programlisting role="ini"> <![CDATA[ @@ -125,8 +125,9 @@ </term> <listitem> <para> - Used to set a Boolean configuration directive. - Can be used only with PHP_INI_ALL and PHP_INI_PERDIR type directives. + ÓÃÓÚÉ趨²¼¶ûÖµÀàÐ͵ÄÅäÖÃÖ¸Áî¡£½öÄÜÓÃÓÚ + PHP_INI_ALL ºÍ PHP_INI_PERDIR + ÀàÐ͵ÄÖ¸Áî¡£ </para> </listitem> </varlistentry> @@ -138,11 +139,15 @@ </term> <listitem> <para> - Sets the value of the specified directive. - This can NOT be used in <filename>.htaccess</filename> files. - Any directive type set with <systemitem role="directive">php_admin_value</systemitem> - can not be overridden by <filename>.htaccess</filename> or virtualhost directives. - To clear a previously set value use <literal>none</literal> as the value. + É趨ָ¶¨Ö¸ÁîµÄÖµ¡£²»ÄÜÔÚ + <filename>.htaccess</filename> + ÎļþÖÐʹÓá£ÈκÎÔÚ + <systemitem role="directive">php_admin_value</systemitem> + ÖÐÉ趨µÄÖµ²»Äܱ» + <filename>.htaccess</filename> + »òÕß + virtualhost + ÖеÄÖ¸Á¸Ç¡£ÒªÇå³ýÉÏÒ»¸öÉ趨µÄÖµ£¬½«ÖµÉèΪ <literal>none</literal>¡£ <informalexample> <programlisting role="ini"> <![CDATA[ @@ -161,10 +166,15 @@ </term> <listitem> <para> - Used to set a Boolean configuration directive. - This can NOT be used in <filename>.htaccess</filename> files. - Any directive type set with <systemitem role="directive">php_admin_flag</systemitem> - can not be overridden by <filename>.htaccess</filename> or virtualhost directives. + ÓÃÓÚÉ趨²¼¶ûÖµÀàÐ͵ÄÅäÖÃÖ¸Áî¡£²»ÄÜÔÚ + <filename>.htaccess</filename> + ÎļþÖÐʹÓá£ÈκÎÔÚ + <systemitem role="directive">php_admin_flag</systemitem> + ÖÐÉ趨µÄÖµ²»Äܱ» + <filename>.htaccess</filename> + »òÕß + virtualhost + ÖеÄÖ¸Á¸Ç¡£ </para> </listitem> </varlistentry> @@ -172,7 +182,7 @@ </para> <para> <example> - <title>Apache configuration example</title> + <title>Apache ÅäÖÃÀý×Ó</title> <programlisting role="ini"> <![CDATA[ <IfModule mod_php4.c> @@ -189,90 +199,93 @@ <note> <para> - PHP constants do not exist outside of PHP. For example, in - <filename>httpd.conf</filename> you can not use PHP constants - such as <constant>E_ALL</constant> or <constant>E_NOTICE</constant> - to set the <link linkend="ini.error-reporting">error_reporting</link> - directive as they will have no meaning and will evaluate to - <emphasis>0</emphasis>. Use the associated bitmask values instead. - These constants can be used in &php.ini; + PHP ³£Á¿²»´æÔÚÓÚ PHP Ö®Íâ¡£ÀýÈ磬ÔÚ + <filename>httpd.conf</filename> + ÖпÉÒÔʹÓà PHP ³£Á¿Èç + <constant>E_ALL</constant> »òÕß <constant>E_NOTICE</constant> + À´É趨 + <link linkend="ini.error-reporting">error_reporting</link> + Ö¸ÁîµÄÖµ£¬µ«ËüÃÇÆäʵûÓÐÒâÒå²¢±»ÈÏΪÊÇ + <emphasis>0</emphasis>¡£Ó¦¸ÃʹÓÃÏàÓ¦µÄλÑÚÂë¡£ÕâЩ³£Á¿¿ÉÒÔÔÚ + &php.ini; ÖÐʹÓᣠ</para> </note> </para> </sect2> <sect2 id="configuration.changes.other"> - <title>Other interfaces to <literal>PHP</literal></title> + <title>ÆäËü <literal>PHP</literal> ½Ó¿Ú</title> <para> - Regardless of the interface to <literal>PHP</literal> you can change - certain values at runtime of your scripts through - <function>ini_set</function>. The following table provides an overview - at which level a directive can be set/changed. + ²»ÂÛ <literal>PHP</literal> + µÄ½Ó¿ÚÊÇʲô¶¼¿ÉÒÔÔڽű¾Ö´Ðйý³ÌÖÐͨ¹ý + <function>ini_set</function> + À´ÐÞ¸ÄһЩֵ¡£Ï±íÌṩÁËÖ¸Áî¿ÉÒÔÔÚÄÄÒ»¼¶±»É趨/Ð޸ĵĸÅÀÀ¡£ </para> <para> <table> - <title>Definition of PHP_INI_* constants</title> + <title>PHP_INI_* ³£Á¿µÄ¶¨Òå</title> <tgroup cols="3"> <thead> <row> - <entry>Constant</entry> - <entry>Value</entry> - <entry>Meaning</entry> + <entry>³£Á¿</entry> + <entry>Öµ</entry> + <entry>º¬Òå</entry> </row> </thead> <tbody> <row> <entry>PHP_INI_USER</entry> <entry>1</entry> - <entry>Entry can be set in user scripts</entry> + <entry>¸ÃÏîÄ¿¿ÉÒÔÔÚÓû§½Å±¾ÖÐÉ趨</entry> </row> <row> <entry>PHP_INI_PERDIR</entry> <entry>2</entry> <entry> - Entry can be set in &php.ini;, <filename>.htaccess</filename> or - <filename>httpd.conf</filename> + ¸ÃÏîÄ¿¿ÉÒÔÔÚ &php.ini;£¬<filename>.htaccess</filename> »òÕß + <filename>httpd.conf</filename> ÖÐÉ趨 </entry> </row> <row> <entry>PHP_INI_SYSTEM</entry> <entry>4</entry> <entry> - Entry can be set in &php.ini; or <filename>httpd.conf</filename> + ¸ÃÏîÄ¿¿ÉÒÔÔÚ &php.ini; »ò <filename>httpd.conf</filename> ÖÐÉ趨 </entry> </row> <row> <entry>PHP_INI_ALL</entry> <entry>7</entry> - <entry>Entry can be set anywhere</entry> + <entry>¸ÃÏîÄ¿¿ÉÒÔÔÚÈκεط½É趨</entry> </row> </tbody> </tgroup> </table> </para> <para> - 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 directives using - <function>ini_get</function> or <function>get_cfg_var</function>. + ¿ÉÒÔÔÚ + <function>phpinfo</function> + µÄÊä³öÖв鿴ÅäÖÃÑ¡ÏîµÄÖµ¡£Ò²¿ÉÒÔÓà + <function>ini_get</function> »ò <function>get_cfg_var</function> + À´µ¥¸ö·ÃÎÊÅäÖÃÖ¸ÁîµÄÖµ¡£ </para> </sect2> </sect1> <sect1 id="configuration.directives"> - <title>Configuration directives</title> + <title>ÅäÖÃÖ¸Áî</title> <sect2 id="ini.sect.httpd-options"> - <title>Httpd Options</title> + <title>Httpd Ñ¡Ïî</title> <para> <table> - <title>Httpd Options</title> + <title>Httpd Ñ¡Ïî</title> <tgroup cols="3"> <thead> <row> - <entry>Name</entry> - <entry>Default</entry> - <entry>Changeable</entry> + <entry>Ãû³Æ</entry> + <entry>ĬÈÏÖµ</entry> + <entry>Àà±ð</entry> </row> </thead> <tbody> @@ -290,16 +303,16 @@ </sect2> <sect2 id="ini.sect.language-options"> - <title>Language Options</title> + <title>ÓïÑÔÑ¡Ïî</title> <para> <table> - <title>Language and Misc Configuration Options</title> + <title>ÓïÑÔºÍÔÓÀàÅäÖÃÑ¡Ïî</title> <tgroup cols="3"> <thead> <row> - <entry>Name</entry> - <entry>Default</entry> - <entry>Changeable</entry> + <entry>Ãû³Æ</entry> + <entry>ĬÈÏÖµ</entry> + <entry>Àà±ð</entry> </row> </thead> <tbody> @@ -338,7 +351,7 @@ </table> </para> <para> - Here is a short explanation of the configuration directives. + ÒÔÏÂÊÇÅäÖÃÖ¸ÁîµÄ¼ò¶Ì˵Ã÷¡£ <variablelist> <varlistentry id="ini.short-open-tag"> <term> @@ -347,20 +360,22 @@ </term> <listitem> <para> - Tells whether the short form (<userinput>&lt;? ?&gt;</userinput>) - of PHP's open tag should be allowed. If you want to use PHP in - combination with XML, you can disable this option in order to - use <userinput>&lt;?xml ?&gt;</userinput> inline. Otherwise, you - can print it with PHP, for example: <userinput>&lt;?php echo '&lt;?xml - version="1.0"'; ?&gt;</userinput>. Also if disabled, you must use the - long form of the PHP open tag (<userinput>&lt;?php ?&gt;</userinput>). + ¾ö¶¨ÊÇ·ñÔÊÐíʹÓà PHP ´úÂ뿪ʼ±êÖ¾µÄËõдÐÎʽ£¨<userinput>&lt;? + ?&gt;</userinput>£©¡£Èç¹ûÒªºÍ XML ½áºÏʹÓà + PHP£¬¿ÉÒÔ½ûÓôËÑ¡ÏîÒÔ±ãÓÚǶÈëʹÓà + <userinput>&lt;?xml ?&gt;</userinput>¡£·ñÔò»¹¿ÉÒÔͨ¹ý + PHP À´Êä³ö£¬ÀýÈ磺<userinput>&lt;?php echo '&lt;?xml + version="1.0"'; ?&gt;</userinput>¡£Èç¹û½ûÓÃÁË£¬±ØÐëʹÓà + PHP ´úÂ뿪ʼ±êÖ¾µÄÍêÕûÐÎʽ£¨<userinput>&lt;?php + ?&gt;</userinput>£©¡£ </para> <note> <para> - This directive also affects the shorthand <userinput>&lt;?=</userinput>, - which is identical to <userinput>&lt;? echo</userinput>. Use of this - shortcut requires <systemitem role="directive">short_open_tag</systemitem> - to be on. + ±¾Ö¸ÁîÒ²»áÓ°Ïìµ½ËõдÐÎʽ + <userinput>&lt;?=</userinput>£¬ËüºÍ + <userinput>&lt;? echo</userinput> µÈ¼Û¡£Ê¹ÓôËËõдÐèÒª + <systemitem role="directive">short_open_tag</systemitem> + µÄֵΪ On¡£ </para> </note> </listitem> @@ -373,15 +388,16 @@ </term> <listitem> <simpara> - Enables the use of ASP-like &lt;% %&gt; tags in addition to - the usual &lt;?php ?&gt; tags. This includes the - variable-value printing shorthand of &lt;%= $value %&gt;. For - more information, see <link - linkend="language.basic-syntax.phpmode">Escaping from HTML</link>. + ³ýÁËͨ³£µÄ + &lt;?php ?&gt; + ±êÖ¾Ö®Í⻹ÔÊÐíʹÓà + ASP ·ç¸ñµÄ±êÖ¾ &lt;% %&gt;¡£ÕâÒ²°üÀ¨ÁËÊä³ö±äÁ¿ÖµµÄËõд + &lt;%= $value %&gt;¡£¸ü¶àÐÅÏ¢¼û<link + linkend="language.basic-syntax.phpmode">´Ó HTML ÖзÖÀë</link>Ò»½Ú¡£ </simpara> <note> <para> - Support for ASP-style tags was added in 3.0.4. + ASP ·ç¸ñ±êÖ¾µÄÖ§³ÖÊÇ 3.0.4 °æÐ¼ӵġ£ </para> </note> </listitem> @@ -394,7 +410,7 @@ </term> <listitem> <simpara> - The number of significant digits displayed in floating point numbers. + ¸¡µãÊýÖÐÏÔʾÓÐЧÊý×ÖµÄλÊý¡£ </simpara> </listitem> </varlistentry> @@ -406,7 +422,7 @@ </term> <listitem> <simpara> - Enforce year 2000 compliance (will cause problems with non-compliant browsers) + Ç¿ÖÆ 2000 Äê¼æÈÝ£¨ÔÚ²»¼æÈݵÄä¯ÀÀÆ÷Öлá³öÎÊÌ⣩¡£ </simpara> </listitem> </varlistentry> @@ -419,18 +435,11 @@ </term> <listitem> <para> - Whether to enable the ability to force arguments to be passed by reference - at function call time. This method is deprecated and is likely to be - unsupported in future versions of PHP/Zend. The encouraged method of - specifying which arguments should be passed by reference is in the function - declaration. You're encouraged to try and turn this option Off and make - sure your scripts work properly with it in order to ensure they will work - with future versions of the language (you will receive a warning each time - you use this feature, and the argument will be passed by value instead of by - reference). + ÊÇ·ñÆôÓÃÔÚº¯Êýµ÷ÓÃÊ±Ç¿ÖÆ²ÎÊý±»°´ÕÕÒýÓô«µÝ¡£´Ë·½·¨ÒѲ»±»Ô޳ɲ¢ÔÚ + PHP/Zend δÀ´µÄ°æ±¾ÖкܿÉÄܲ»ÔÙÖ§³Ö¡£¹ÄÀøÊ¹Óõķ½·¨ÊÇÔÚº¯Êý¶¨ÒåÖÐÖ¸¶¨ÄÄЩ²ÎÊýÓ¦¸ÃÓÃÒýÓô«µÝ¡£¹ÄÀø´ó¼Ò³¢ÊԹرմËÑ¡Ïȷ±£½Å±¾Äܹ»Õý³£ÔËÐУ¬ÒÔÈ·±£¸Ã½Å±¾Ò²ÄÜÔÚδÀ´µÄ°æ±¾ÖÐÔËÐУ¨Ã¿´ÎʹÓôËÌØÐÔ¶¼»áÊÕµ½Ò»Ìõ¾¯¸æ£¬²ÎÊý»á±»°´Öµ´«µÝ¶ø²»Êǰ´ÕÕÒýÓô«µÝ£©¡£ </para> <para> - See also <link linkend="language.references">References Explained</link>. + ²Î¼û<link linkend="language.references">ÒýÓõĽâÊÍ</link>¡£ </para> </listitem> </varlistentry> @@ -442,10 +451,9 @@ </term> <listitem> <para> - Decides whether PHP may expose the fact that it is installed on the server - (e.g. by adding its signature to the Web server header). It is no security - threat in any way, but it makes it possible to determine whether you use PHP - on your server or not. + ¾ö¶¨ÊÇ·ñ±©Â¶ PHP ±»°²×°ÔÚ·þÎñÆ÷ÉÏ£¨ÀýÈçÔÚ Web + ·þÎñÆ÷µÄÐÅϢͷÖмÓÉÏÆäÇ©Ãû£©¡£Ã»ÓÐÈκΰ²È«ÉϵÄÍþв£¬Ö»ÊÇÈÿͻ§¶ËÄܹ»ÖªµÀÊÇ·ñÔÚ·þÎñÆ÷Öа²×°ÁË + PHP¡£ </para> </listitem> </varlistentry> @@ -454,16 +462,16 @@ </sect2> <sect2 id="ini.sect.resource-limits"> - <title>Resource Limits</title> + <title>×ÊÔ´ÏÞÖÆ</title> <para> <table> - <title>Resource Limits</title> + <title>×ÊÔ´ÏÞÖÆ</title> <tgroup cols="3"> <thead> <row> - <entry>Name</entry> - <entry>Default</entry> - <entry>Changeable</entry> + <entry>Ãû³Æ</entry> + <entry>ĬÈÏÖµ</entry> + <entry>ÀàÐÍ</entry> </row> </thead> <tbody> @@ -477,7 +485,7 @@ </table> </para> <para> - Here is a short explanation of the configuration directives. + ÒÔÏÂÊÇÅäÖÃÖ¸ÁîµÄ¼ò¶Ì˵Ã÷¡£ <variablelist> <varlistentry id="ini.memory-limit"> @@ -487,34 +495,31 @@ </term> <listitem> <para> - This sets the maximum amount of memory in bytes that a script - is allowed to allocate. This helps prevent poorly written - scripts for eating up all available memory on a server. In order to - use this directive you must have enabled it at compile time. So, - your configure line would have included: - <literal>--enable-memory-limit</literal>. Note that you have to set - it to -1 if you don't want any limit for your memory. + ±¾Ö¸ÁîÉ趨ÁËÒ»¸ö½Å±¾ËùÄܹ»ÉêÇëµ½µÄ×î´óÄÚ´æ×Ö½ÚÊý¡£ÕâÓÐÖúÓÚ·ÀֹдµÃ²»ºÃµÄ½Å±¾ÏûºÄ¹â·þÎñÆ÷ÉϵĿÉÓÃÄڴ档ҪʹÓôËÖ¸Áî±ØÐëÔÚ±àÒëµÄʱºò¼¤»î¡£Òò´Ë + configure + Ò»ÐÐÖÐÓ¦¸Ã°üÀ¨£º<literal>--enable-memory-limit</literal>¡£Èç¹û²»ÐèÒªÈκÎÄÚ´æÉϵÄÏÞÖÆ£¬±ØÐ뽫ÆäÉèΪ + -1¡£ </para> </listitem> </varlistentry> </variablelist> </para> <para> - See also: <link linkend="ini.max-execution-time">max_execution_time</link>. + ²Î¼û <link linkend="ini.max-execution-time">max_execution_time</link>¡£ </para> </sect2> <sect2 id="ini.sect.data-handling"> - <title>Data Handling</title> + <title>Êý¾Ý´¦Àíg</title> <para> <table> - <title>Data Handling Configuration Options</title> + <title>Êý¾Ý´¦ÀíÅäÖÃÑ¡Ïî</title> <tgroup cols="3"> <thead> <row> - <entry>Name</entry> - <entry>Default</entry> - <entry>Changeable</entry> + <entry>Ãû³Æ</entry> + <entry>ĬÈÏÖµ</entry> + <entry>ÀàÐÍ</entry> </row> </thead> <tbody> @@ -593,7 +598,7 @@ </table> </para> <para> - Here is a short explanation of the configuration directives. + ÒÔÏÂÊÇÅäÖÃÖ¸ÁîµÄ¼ò¶Ì˵Ã÷¡£ <variablelist> <varlistentry id="ini.track-vars"> <term> @@ -602,17 +607,13 @@ </term> <listitem> <para> - If enabled, then Environment, GET, POST, Cookie, and Server - variables can be found in the global associative arrays - <varname>$_ENV</varname>, - <varname>$_GET</varname>, - <varname>$_POST</varname>, - <varname>$_COOKIE</varname>, and - <varname>$_SERVER</varname>. + Èç¹û¼¤»î£¬Ôò»·¾³±äÁ¿£¬GET£¬POST£¬Cookie ºÍ Server + ±äÁ¿¶¼Äܹ»·Ö±ðÔÚÈ«¾Ö¹ØÁªÊý×éÖÐÕÒµ½£º<varname>$_ENV</varname>£¬<varname>$_GET</varname>£¬<varname>$_POST</varname>£¬<varname>$_COOKIE</varname> ºÍ + <varname>$_SERVER</varname>¡£ </para> <para> - Note that as of PHP 4.0.3, <systemitem - role="directive">track_vars</systemitem> is always turned on. + ×¢Òâ×Ô PHP 4.0.3 Æð£¬<systemitem + role="directive">track_vars</systemitem> ×ÜÊÇ´ò¿ªµÄ¡£ </para> </listitem> </varlistentry> @@ -624,7 +625,7 @@ </term> <listitem> <para> - The separator used in PHP generated URLs to separate arguments. + PHP Ëù²úÉúµÄ URL ÖÐÀ´·Ö¸ô²ÎÊýµÄ·Ö¸ô·û¡£ </para> </listitem> </varlistentry> @@ -636,11 +637,11 @@ </term> <listitem> <para> - List of separator(s) used by PHP to parse input URLs into variables. + PHP ÓÃÀ´½« URL ½âÎöΪ±äÁ¿µÄ·Ö¸ô·ûÁÐ±í¡£ </para> <note> <para> - Every character in this directive is considered as separator! + ±¾Ö¸ÁîÖеÄÿ¸ö×Ö·û¶¼»á±»µ±³É·Ö¸ô·û£¡ </para> </note> </listitem> @@ -653,15 +654,13 @@ </term> <listitem> <para> - Set the order of the EGPCS (Environment, GET, POST, Cookie, - Server) variable parsing. The default setting of this - directive is "EGPCS". Setting this to "GP", for example, - will cause PHP to completely ignore environment variables, - cookies and server variables, and to overwrite any GET - method variables with POST-method variables of the same name. + É趨 EGPCS£¨Environment£¬GET£¬POST£¬Cookie£¬Server£©±äÁ¿½âÎöµÄ˳Ðò¡£Ä¬ÈÏÉ趨Ϊ + "EGPCS"¡£¾ÙÀý˵£¬½«ÆäÉèΪ "GP"£¬»áµ¼Ö + PHP ÍêÈ«ºöÂÔ»·¾³±äÁ¿£¬cookies ºÍ server ±äÁ¿£¬²¢Óà GET + ·½·¨µÄ±äÁ¿¸²¸Ç POST ·½·¨µÄͬÃû±äÁ¿¡£ </para> <para> - See also <link linkend="ini.register-globals">register_globals</link>. + ²Î¼û <link linkend="ini.register-globals">register_globals</link>¡£ </para> </listitem> </varlistentry> @@ -673,36 +672,36 @@ </term> <listitem> <para> - Tells whether or not to register the EGPCS (Environment, GET, - POST, Cookie, Server) variables as global variables. For example; - if register_globals = on, the url - <literal>http://www.example.com/test.php?id=3</literal> will produce - <varname>$id</varname>. Or, <varname>$DOCUMENT_ROOT</varname> from - <varname>$_SERVER['DOCUMENT_ROOT']</varname>. You may want to turn - this off if you don't want to clutter your scripts' global scope with - user data. As of PHP <ulink url="&url.php.release4.2.0;">4.2.0</ulink>, - this directive defaults to <emphasis>off</emphasis>. It's preferred to - go through PHP <link linkend="reserved.variables">Predefined Variables - </link> instead, such as the - <link linkend="language.variables.superglobals">superglobals</link>: - <varname>$_ENV</varname>, <varname>$_GET</varname>, - <varname>$_POST</varname>, <varname>$_COOKIE</varname>, and - <varname>$_SERVER</varname>. Please read the security chapter on - <link linkend="security.registerglobals">Using register_globals</link> - for related information. - </para> - <para> - Please note that <systemitem role="directive">register_globals</systemitem> - cannot be set at runtime (<function>ini_set</function>). Although, you can - use <filename>.htaccess</filename> if your host allows it as described - above. An example <filename>.htaccess</filename> entry: - <userinput>php_flag register_globals on</userinput>. + ¾ö¶¨ÊÇ·ñ½« + EGPCS£¨Environment£¬GET£¬POST£¬Cookie£¬Server£©±äÁ¿×¢²áΪȫ¾Ö±äÁ¿¡£ÀýÈ磬Èç¹û + register_globals = on£¬ÄÇô URL + <literal>http://www.example.com/test.php?id=3</literal> + ½«²úÉú + <varname>$id</varname>¡£»òÕß´Ó + <varname>$_SERVER['DOCUMENT_ROOT']</varname> + µÃÀ´ + <varname>$DOCUMENT_ROOT</varname>¡£Èç¹û²»ÏëÓû§Êý¾Ý°ÑÈ«¾ÖÓòŪÂҵϰ¿ÉÒÔ½«´ËÑ¡Ïî¹Ø±Õ¡£×Ô + PHP <ulink url="&url.php.release4.2.0;">4.2.0</ulink> + ¿ªÊ¼£¬±¾Ö¸ÁîĬÈÏΪ + <emphasis>off</emphasis>¡£ÍƼöʹÓà PHP + µÄ<link linkend="reserved.variables">Ô¤¶¨Òå±äÁ¿</link>À´Ìæ´ú£¬ÀýÈç<link + linkend="language.variables.superglobals">³¬È«¾Ö±äÁ¿</link>£º<varname>$_ENV</varname>£¬<varname>$_GET</varname>£¬<varname>$_POST</varname>£¬<varname>$_COOKIE</varname> ºÍ + <varname>$_SERVER</varname>¡£Ïà¹ØÐÅÏ¢ÇëÔĶÁ°²È«Ò»ÕÂÖеÄ<link + linkend="security.registerglobals">ʹÓà register_globals</link>¡£ + </para> + <para> + Çë×¢Òâ + <systemitem role="directive">register_globals</systemitem> + ²»ÄÜÔÚÔËÐÐʱÉ趨£¨<function>ini_set</function>£©£¬¾¡¹ÜÈçÒÔÉÏ˵Ã÷ÔÚÖ÷»úÔÊÐíʱ¿ÉÒÔÓà + <filename>.htaccess</filename>¡£Ò»¸ö + <filename>.htaccess</filename> ÏîÄ¿µÄÀý×Ó£º<userinput>php_flag register_globals on</userinput>¡£ </para> <note> <para> - <systemitem role="directive">register_globals</systemitem> is affected - by the <link linkend="ini.variables-order">variables_order</link> - directive. + <systemitem role="directive">register_globals</systemitem> + ÊÜ + <link linkend="ini.variables-order">variables_order</link> + Ö¸ÁîµÄÓ°Ïì¡£ </para> </note> </listitem> @@ -715,13 +714,11 @@ </term> <listitem> <simpara> - Tells PHP whether to declare the argv &amp; argc variables - (that would contain the GET information). + ¾ö¶¨ PHP ÊÇ·ñ¶¨Òå argv &amp; argc ±äÁ¿£¨¿ÉÄܰüº¬ÓÐ GET ÐÅÏ¢£©¡£ </simpara> <simpara> - See also <link linkend="features.commandline">command line</link>. - Also, this directive became available in PHP 4.0.0 and - was always "on" before that. + ²Î¼û<link linkend="features.commandline">ÃüÁîÐз½Ê½</link>¡£´ËÍ⣬±¾Ñ¡Ïî×Ô + PHP 4.0.0 Æð¿ÉÓã¬ÔÚ´Ë֮ǰ×ÜÊÇ "on"¡£ </simpara> </listitem> </varlistentry> @@ -733,16 +730,15 @@ </term> <listitem> <simpara> - Sets max size of post data allowed. This setting also affects - file upload. To upload large files, this value must be larger - than <link linkend="ini.upload-max-filesize">upload_max_filesize</link>. + É趨 POST Êý¾ÝËùÔÊÐíµÄ×î´ó´óС¡£´ËÉ趨ҲӰÏìµ½ÎļþÉÏ´«¡£ÒªÉÏ´«´óÎļþ£¬¸ÃÖµ±ØÐë´óÓÚ + <link linkend="ini.upload-max-filesize">upload_max_filesize</link>¡£ </simpara> <simpara> - If memory limit is enabled by your configure script, <link - linkend="ini.memory-limit">memory_limit</link> also affects - file uploading. Generally speaking, - <link linkend="ini.memory-limit">memory_limit</link> should be - larger than <parameter>post_max_size</parameter>. + Èç¹ûÅäÖýű¾Ö줻îÁËÄÚ´æÏÞÖÆ£¬<link + linkend="ini.memory-limit">memory_limit</link> + Ò²»áÓ°ÏìÎļþÉÏ´«¡£Í¨³£Ëµ£¬<link linkend="ini.memory-limit">memory_limit</link> + Ó¦¸Ã±È + <parameter>post_max_size</parameter> Òª´ó¡£ </simpara> </listitem> </varlistentry> @@ -754,17 +750,15 @@ </term> <listitem> <para> - Set the order of GET/POST/COOKIE variable parsing. The - default setting of this directive is "GPC". Setting this to - "GP", for example, will cause PHP to completely ignore cookies - and to overwrite any GET method variables with POST-method - variables of the same name. + É趨 GET/POST/COOKIE ±äÁ¿½âÎöµÄ˳Ðò£¬Ä¬ÈÏΪ + "GPC"¡£¾ÙÀý˵£¬½«ÆäÉèΪ "GP"£¬»áµ¼Ö + PHP ÍêÈ«ºöÂÔ»·¾³±äÁ¿£¬cookies ºÍ server ±äÁ¿£¬²¢Óà GET + ·½·¨µÄ±äÁ¿¸²¸Ç POST ·½·¨µÄͬÃû±äÁ¿¡£ </para> <note> <para> - This option is not available in PHP 4. - Use <link linkend="ini.variables-order">variables_order</link> - instead. + ±¾Ñ¡Ïî²»ÄÜÓÃÓÚ PHP 4¡£Óà + <link linkend="ini.variables-order">variables_order</link> Ìæ´úÖ®¡£ </para> </note> </listitem> @@ -777,13 +771,13 @@ </term> <listitem> <para> - Specifies the name of a file that is automatically parsed - before the main file. The file is included as if it was - called with the <function>include</function> function, so - <link linkend="ini.include-path">include_path</link> is used.</para> + Ö¸¶¨ÔÚÖ÷Îļþ֮ǰ×Ô¶¯½âÎöµÄÎļþÃû¡£¸ÃÎļþ¾ÍÏñµ÷ÓÃÁË + <function>include</function> º¯ÊýÒ»Ñù±»°üº¬½øÀ´£¬Òò´Ë»áʹÓà + <link linkend="ini.include-path">include_path</link>¡£ + </para> <para> - The special value <systemitem class="constant">none</systemitem> - disables auto-prepending. + ÌØÊâÖµ <systemitem class="constant">none</systemitem> + ½ûÖ¹ÁË×Ô¶¯Ç°×º¡£ </para> </listitem> </varlistentry> @@ -795,17 +789,18 @@ </term> <listitem> <para> - Specifies the name of a file that is automatically parsed - after the main file. The file is included as if it was - called with the <function>include</function> function, so - <link linkend="ini.include-path">include_path</link> is used.</para> + Ö¸¶¨ÔÚÖ÷ÎļþÖ®ºó×Ô¶¯½âÎöµÄÎļþÃû¡£¸ÃÎļþ¾ÍÏñµ÷ÓÃÁË + <function>include</function> º¯ÊýÒ»Ñù±»°üº¬½øÀ´£¬Òò´Ë»áʹÓà + <link linkend="ini.include-path">include_path</link>¡£ + </para> <para> - The special value <systemitem class="constant">none</systemitem> - disables auto-appending. + ÌØÊâÖµ <systemitem class="constant">none</systemitem> + ½ûÖ¹ÁË×Ô¶¯ºó׺¡£ <note> <simpara> - If the script is terminated with <function>exit</function>, - auto-append will <emphasis>not</emphasis> occur.</simpara> + Èç¹û½Å±¾Í¨¹ý + <function>exit</function> ÖÕÖ¹£¬Ôò×Ô¶¯ºó׺<emphasis>²»»á</emphasis>·¢Éú¡£ + </simpara> </note> </para> </listitem> @@ -829,9 +824,8 @@ </term> <listitem> <para> - As of 4.0b4, PHP always outputs a character encoding by default in - the Content-type: header. To disable sending of the charset, simply - set it to be empty. + ×Ô 4.0b4 Æð£¬PHP ×ÜÊÇĬÈÏÔÚ HTTP ÐÅϢͷ + Content-type: ÖÐÊä³ö×Ö·û±àÂë¡£Òª½ûÖ¹·¢ËÍ×Ö·û¼¯£¬½«±¾Ñ¡ÏîÉèΪ¿Õ¼´¿É¡£ </para> </listitem> </varlistentry> @@ -843,7 +837,7 @@ </term> <listitem> <para> - Always populate the $HTTP_RAW_POST_DATA variable. + ×ÜÊÇÔö¼Ó $HTTP_RAW_POST_DATA ±äÁ¿¡£ </para> </listitem> </varlistentry> @@ -855,35 +849,34 @@ </term> <listitem> <para> - Allow handling of WebDAV http requests within PHP scripts (eg. - PROPFIND, PROPPATCH, MOVE, COPY, etc..) - If you want to get the post data of those requests, you have to - set <link linkend="ini.always-populate-raw-post-data"> - always_populate_raw_post_data</link> as well. + ÔÊÐíÔÚ PHP ½Å±¾Öд¦Àí + WebDAV µÄ HTTP ÇëÇó£¨ÀýÈç + PROPFIND£¬PROPPATCH£¬MOVE£¬COPY µÈ£©¡£Èç¹ûҪȡµÃÕâЩÇëÇóµÄ + POST Êý¾Ý£¬Ò²ÒªÉ趨 + <link linkend="ini.always-populate-raw-post-data">always_populate_raw_post_data</link>¡£ </para> </listitem> </varlistentry> </variablelist> </para> <para> - See also: <link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link>, - <link linkend="ini.magic-quotes-runtime">magic-quotes-runtime</link>, - and - <link linkend="ini.magic-quotes-sybase">magic_quotes_sybase</link>. + ²Î¼û + <link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link>£¬<link linkend="ini.magic-quotes-runtime">magic-quotes-runtime</link> ºÍ + <link linkend="ini.magic-quotes-sybase">magic_quotes_sybase</link>¡£ </para> </sect2> <sect2 id="ini.sect.path-directory"> - <title>Paths and Directories</title> + <title>·¾¶ºÍĿ¼</title> <para> <table> - <title>Paths and Directories Configuration Options</title> + <title>·¾¶ºÍĿ¼ÅäÖÃÑ¡Ïî</title> <tgroup cols="3"> <thead> <row> - <entry>Name</entry> - <entry>Default</entry> - <entry>Changeable</entry> + <entry>Ãû³Æ</entry> + <entry>ĬÈÏÖµ</entry> + <entry>ÀàÐÍ</entry> </row> </thead> <tbody> @@ -927,7 +920,7 @@ </table> </para> <para> - Here is a short explanation of the configuration directives. + ÒÔÏÂÊÇÅäÖÃÖ¸ÁîµÄ¼ò¶Ì˵Ã÷¡£ <variablelist> <varlistentry id="ini.include-path"> @@ -937,12 +930,13 @@ </term> <listitem> <para> - Specifies a list of directories where the - <function>require</function>, <function>include</function> - and <function>fopen_with_path</function> functions look for - files. The format is like the system's <envar>PATH</envar> - environment variable: a list of directories separated with a - colon in UNIX or semicolon in Windows. + Ö¸¶¨Ò»×éĿ¼ÓÃÓÚ + <function>require</function>£¬<function>include</function> ºÍ + <function>fopen_with_path</function> + º¯ÊýÀ´Ñ°ÕÒÎļþ¡£¸ñʽºÍϵͳµÄ + <envar>PATH</envar> + »·¾³±äÁ¿ÀàËÆ£ºÒ»×éĿ¼µÄÁÐ±í£¬ÔÚ UNIX ÏÂÓÃðºÅ·Ö¸ô£¬ÔÚ + Windows ÏÂÓ÷ֺŷָô¡£ </para> <para> <example> @@ -965,8 +959,8 @@ </example> </para> <para> - Using a <literal>.</literal> in the include path allows for - relative includes as it means the current directory. + ÔÚ°üº¬Â·¾¶ÖÐʹÓà <literal>.</literal> + ¿ÉÒÔÔÊÐíÏà¶Ô·¾¶£¬Ëü´ú±íµ±Ç°Ä¿Â¼¡£ </para> </listitem> </varlistentry> @@ -978,13 +972,14 @@ </term> <listitem> <para> - PHP's "root directory" on the server. Only used if - non-empty. If PHP is configured with &safemode;, no files outside - this directory are served. - If PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root - if you are running php as a CGI under any web server (other than IIS) - The alternative is to use the <link linkend="ini.cgi.force-redirect"> - cgi.force_redirect</link> configuration below. + PHP ÔÚ·þÎñÆ÷ÉϵĸùĿ¼¡£½öÔÚ·Ç¿ÕʱʹÓá£Èç¹û + PHP ±»ÅäÖÃΪ + &safemode;£¬Ôò´ËĿ¼֮ÍâµÄÎļþÒ»¸Å²»±»½âÎö¡£Èç¹û + PHP ±àÒëʱûÓÐÖ¸¶¨ FORCE_REDIRECT£¬²¢ÇÒÔÚÈκΠweb + ·þÎñÆ÷£¨³ýÁË IIS£©ÖÐÒÔ CGI + ·½Ê½ÔËÐÐ PHP£¬ÔòÓ¦¸ÃÉ趨 doc_root¡£Ìæ´ú·½°¸ÊÇʹÓÃÏÂÃæµÄ + <link linkend="ini.cgi.force-redirect">cgi.force_redirect</link> + ÅäÖÃÑ¡Ïî¡£ </para> </listitem> </varlistentry> @@ -996,9 +991,9 @@ </term> <listitem> <para> - The base name of the directory used on a user's home - directory for <literal>PHP</literal> files, for example - <literal>public_html</literal>. + ÔÚÓû§Ä¿Â¼Ö®ÏÂʹÓà <literal>PHP</literal> + ÎļþµÄ»ù±¾Ä¿Â¼Ãû£¬ÀýÈç + <literal>public_html</literal>¡£ </para> </listitem> </varlistentry> @@ -1010,9 +1005,9 @@ </term> <listitem> <para> - In what directory PHP should look for dynamically loadable - extensions. See also: <link linkend="ini.enable-dl">enable_dl</link>, - and <function>dl</function>. + PHP ÓÃÀ´Ñ°ÕÒ¶¯Ì¬Á¬½ÓÀ©Õ¹¿âµÄĿ¼¡£²Î¼û + <link linkend="ini.enable-dl">enable_dl</link> ºÍ + <function>dl</function>¡£ </para> </listitem> </varlistentry> @@ -1024,8 +1019,7 @@ </term> <listitem> <para> - Which dynamically loadable extensions to load when PHP starts - up. + µ± PHP Æô¶¯Ê±Ëù¼ÓÔØµÄ¶¯Ì¬Á¬½ÓÀ©Õ¹¿â¡£ </para> </listitem> </varlistentry> @@ -1037,14 +1031,14 @@ </term> <listitem> <para> - cgi.force_redirect is necessary to provide security running PHP as a - CGI under most web servers. Left undefined, PHP turns this on by - default. You can turn it off <emphasis>AT YOUR OWN RISK</emphasis>. + ÔÚ´ó¶àÊý web ·þÎñÆ÷ÖÐÒÔ CGI ·½Ê½ÔËÐÐ PHP + ʱºÜÓбØÒªÓà cgi.force_redirect Ìṩ°²È«¡£PHP + ĬÈÏÆäΪ On¡£¿ÉÒÔ½«Æä¹Ø±Õ£¬µ«<emphasis>·çÏÕ×Ôµ£</emphasis>¡£ </para> <note> <para> - Windows Users: You CAN safely turn this off for IIS, in fact, you MUST. - To get OmniHTTPD or Xitami to work you MUST turn it off. + Windows Óû§£º¿ÉÒÔ°²È«µØÔÚ IIS ֮Ͻ«Æä¹Ø±Õ£¬ÊÂʵÉϱØÐëÕâô×ö¡£ÒªÔÚ + OmniHTTPD »ò Xitami Ö®ÏÂʹÓÃÒ²±ØÐ뽫Æä¹Ø±Õ¡£ </para> </note> </listitem> @@ -1057,15 +1051,14 @@ </term> <listitem> <para> - If cgi.force_redirect is turned on, and you are not running under - Apache or Netscape (iPlanet) web servers, you MAY need to set an - environment variable name that PHP will look for to know it is OK - to continue execution. + Èç¹û´ò¿ªÁË cgi.force_redirect£¬²¢ÇÒ²»ÊÇÔÚ + Apache »ò Netscape£¨iPlanet£©web + ·þÎñÆ÷Ö®ÏÂÔËÐУ¬¿ÉÄÜÐèÒªÉ趨һ¸ö»·¾³±äÁ¿Ãû£¬PHP + ½«È¥Ñ°ÕÒËüÀ´ÖªµÀ¿ÉÒÔ¼ÌÐøÖ´ÐÐÏÂÈ¥¡£ </para> <note> <para> - Setting this variable MAY cause security issues, - KNOW WHAT YOU ARE DOING FIRST. + É趨´Ë±äÁ¿¿ÉÄܻᵼÖ°²È«ÎÊÌ⣬Ê×ÏÈÒªÖªµÀ×Ô¼ºÔÚ×öʲô¡£ </para> </note> </listitem> @@ -1078,11 +1071,11 @@ </term> <listitem> <para> - FastCGI under IIS (on WINNT based OS) supports the ability to impersonate - security tokens of the calling client. This allows IIS to define the - security context that the request runs under. mod_fastcgi under Apache - does not currently support this feature (03/17/2002) - Set to 1 if running under IIS. Default is zero. + IIS£¨ÔÚ»ùÓÚ WINNT µÄ²Ù×÷ϵͳÉÏ£©ÖÐµÄ FastCGI + Ö§³ÖÄ£·Â¿Í»§¶Ë°²È«ÁîÅÆµÄÄÜÁ¦¡£ÕâʹµÃ IIS + Äܹ»¶¨ÒåÔËÐÐʱËù»ùÓÚµÄÇëÇóµÄ°²È«ÉÏÏÂÎÄ¡£Apache + ÖÐµÄ mod_fastcgi ²»Ö§³Ö´ËÌØÐÔ£¨03/17/2002£©¡£Èç¹ûÔÚ + IIS ÖÐÔËÐÐÔòÉèΪ 1¡£Ä¬ÈÏΪ 0¡£ </para> </listitem> </varlistentry> @@ -1091,16 +1084,16 @@ </sect2> <sect2 id="ini.sect.file_uploads"> - <title>File Uploads</title> + <title>ÎļþÉÏ´«</title> <para> <table> - <title>File Uploads Configuration Options</title> + <title>ÎļþÉÏ´«ÅäÖÃÑ¡Ïî</title> <tgroup cols="3"> <thead> <row> - <entry>Name</entry> - <entry>Default</entry> - <entry>Changeable</entry> + <entry>Ãû³Æ</entry> + <entry>ĬÈÏÖµ</entry> + <entry>ÀàÐÍ</entry> </row> </thead> <tbody> @@ -1124,7 +1117,7 @@ </table> </para> <para> - Here is a short explanation of the configuration directives. + ÒÔÏÂÊÇÅäÖÃÖ¸ÁîµÄ¼ò¶Ì˵Ã÷¡£ <variablelist> <varlistentry id="ini.file-uploads"> <term> @@ -1133,12 +1126,11 @@ </term> <listitem> <para> - Whether or not to allow HTTP - <link linkend="features.file-upload">file uploads</link>. See also - the - <link linkend="ini.upload-max-filesize">upload_max_filesize</link>, - <link linkend="ini.upload-tmp-dir">upload_tmp_dir</link>, and - <link linkend="ini.post-max-size">post_max_size</link> directives. + ÊÇ·ñÔÊÐí HTTP + <link linkend="features.file-upload">ÎļþÉÏ´«</link>¡£²Î¼û + <link linkend="ini.upload-max-filesize">upload_max_filesize</link>£¬<link + linkend="ini.upload-tmp-dir">upload_tmp_dir</link> ºÍ + <link linkend="ini.post-max-size">post_max_size</link> Ö¸Áî¡£ </para> </listitem> </varlistentry> @@ -1150,9 +1142,9 @@ </term> <listitem> <para> - The temporary directory used for storing files when doing - file upload. Must be writable by whatever user <literal>PHP</literal> - is running as. If not specified PHP will use the system's default. + ÎļþÉÏ´«Ê±´æ·ÅÎļþµÄÁÙʱĿ¼¡£±ØÐëÊÇ + <literal>PHP</literal> ½ø³ÌËùÓÐÕßÓû§¿ÉдµÄĿ¼¡£Èç¹ûδָ¶¨Ôò + PHP ʹÓÃϵͳĬÈÏÖµ¡£ </para> </listitem> </varlistentry> @@ -1164,7 +1156,7 @@ </term> <listitem> <para> - The maximum size of an uploaded file. + ËùÉÏ´«µÄÎļþµÄ×î´ó´óС¡£ </para> </listitem> </varlistentry> @@ -1173,16 +1165,16 @@ </sect2> <sect2 id="ini.sql-general"> - <title>General SQL</title> + <title>ÆÕͨ SQL</title> <para> <table> - <title>General SQL Configuration Options</title> + <title>ÆÕͨ SQL ÅäÖÃÑ¡Ïî</title> <tgroup cols="3"> <thead> <row> - <entry>Name</entry> - <entry>Default</entry> - <entry>Changeable</entry> + <entry>Ãû³Æ</entry> + <entry>ĬÈÏÖµ</entry> + <entry>ÀàÐÍ</entry> </row> </thead> <tbody> @@ -1196,7 +1188,7 @@ </table> </para> <para> - Here is a short explanation of the configuration directives. + ÒÔÏÂÊÇÅäÖÃÖ¸ÁîµÄ¼ò¶Ì˵Ã÷¡£ <variablelist> <varlistentry id="ini.sql.safe-mode"> <term> @@ -1213,7 +1205,7 @@ </sect2> <sect2 id="ini.sect.debugger"> - <title>Debugger Configuration Directives</title> + <title>µ÷ÊÔÆ÷ÅäÖÃÑ¡Ïî</title> <variablelist> <varlistentry id="ini.debugger.host"> @@ -1223,7 +1215,7 @@ </term> <listitem> <para> - DNS name or IP address of host used by the debugger. + µ÷ÊÔÆ÷ËùʹÓõÄÖ÷»úµÄ DNS Ãû»ò IP µØÖ·¡£ </para> </listitem> </varlistentry> @@ -1235,7 +1227,7 @@ </term> <listitem> <para> - Port number used by the debugger. + µ÷ÊÔÆ÷ËùÓõĶ˿ںš£ </para> </listitem> </varlistentry> @@ -1247,7 +1239,7 @@ </term> <listitem> <para> - Whether the debugger is enabled. + ÊÇ·ñÆôÓõ÷ÊÔÆ÷¡£ </para> </listitem> </varlistentry>
« previous php.doc.zh (#1180) next »