cvs: phpdoc-zh /features commandline.xml safe-mode.xml
| From: | Dallas Thunder | Date: | Thu, 15 May 2003 19:29:59 +0000 |
| Subject: | cvs: phpdoc-zh /features commandline.xml safe-mode.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-1455@lists.php.net to get a copy of this message | ||
dallas Thu May 15 15:29:59 2003 EDT
Modified files:
/phpdoc-zh/features commandline.xml safe-mode.xml
Log:
Updated.
Index: phpdoc-zh/features/commandline.xml
diff -u phpdoc-zh/features/commandline.xml:1.8 phpdoc-zh/features/commandline.xml:1.9
--- phpdoc-zh/features/commandline.xml:1.8 Mon Feb 17 04:25:18 2003
+++ phpdoc-zh/features/commandline.xml Thu May 15 15:29:59 2003
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
-<!-- $Author: gregory $ -->
-<!-- EN-Revision: 1.20 Maintainer: Gregory Status: ready -->
+<!-- $Revision: 1.9 $ -->
+<!-- $Author: dallas $ -->
+<!-- EN-Revision: 1.21 Maintainer: Gregory Status: ready -->
<!-- CREDITS: thomaslio -->
<chapter id="features.commandline">
<title>PHP µÄÃüÁîÐÐģʽ</title>
@@ -30,6 +30,12 @@
<title>ÕâÊÇÄĸö SAPI£¿</title>
<para>
ÔÚÃüÁîÍâ¿ÇÏ£¬ÔËÐÐ <literal>php -v</literal> ±ãÄܵÃÖª¸Ã
<literal>php</literal> ÊÇ CGI »¹ÊÇ CLI¡£Çë²Î¿¼º¯Êý
<function>php_sapi_name</function> ÒÔ¼°³£Á¿
<constant>PHP_SAPI</constant>¡£
+ </para>
+ </note>
+ <note>
+ <para>
+ ÔÚ PHP 4.3.2 ÖмÓÈëÁË UNIX µÄ <literal>man</literal>
Ò³Ãæ¡£¿ÉÒÔÔÚÄãµÄÃüÁîÍâ¿ÇϼüÈë
+ <literal>man php</literal> À´²é¿´¡£
</para>
</note>
<para>
Index: phpdoc-zh/features/safe-mode.xml
diff -u phpdoc-zh/features/safe-mode.xml:1.12 phpdoc-zh/features/safe-mode.xml:1.13
--- phpdoc-zh/features/safe-mode.xml:1.12 Tue May 6 03:23:51 2003
+++ phpdoc-zh/features/safe-mode.xml Thu May 15 15:29:59 2003
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="gb2312"?>
<!-- $Revision: 1.12 $ -->
<!-- $Author: gregory $ -->
-<!-- EN-Revision: 1.35 Maintainer: thomaslio Status: ready -->
-<!-- CREDITS: Gregory -->
-<!-- CREDITS: dallas -->
+<!-- EN-Revision: 1.38 Maintainer: thomaslio Status: ready -->
+<!-- CREDITS: Gregory,dallas -->
<chapter id="features.safe-mode">
<title>°²È«Ä£Ê½</title>
@@ -25,46 +24,51 @@
</row>
</thead>
<tbody>
- <row>
- <entry>safe_mode</entry>
- <entry>"0"</entry>
- <entry>PHP_INI_SYSTEM</entry>
- </row>
- <row>
- <entry>safe_mode_gid</entry>
- <entry>"0"</entry>
- <entry>PHP_INI_SYSTEM</entry>
- </row>
- <row>
- <entry>safe_mode_include_dir</entry>
- <entry>NULL</entry>
- <entry>PHP_INI_SYSTEM</entry>
- </row>
- <row>
- <entry>safe_mode_exec_dir</entry>
- <entry>""</entry>
- <entry>PHP_INI_SYSTEM</entry>
- </row>
- <row>
- <entry>safe_mode_allowed_env_vars</entry>
- <entry>PHP_</entry>
- <entry>PHP_INI_SYSTEM</entry>
- </row>
- <row>
- <entry>safe_mode_protected_env_vars</entry>
- <entry>LD_LIBRARY_PATH</entry>
- <entry>PHP_INI_SYSTEM</entry>
- </row>
- <row>
- <entry>open_basedir</entry>
- <entry>NULL</entry>
- <entry>PHP_INI_SYSTEM</entry>
- </row>
- <row>
- <entry>disable_functions</entry>
- <entry>""</entry>
- <entry>PHP_INI_SYSTEM</entry>
- </row>
+ <row>
+ <entry>safe_mode</entry>
+ <entry>"0"</entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ </row>
+ <row>
+ <entry>safe_mode_gid</entry>
+ <entry>"0"</entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ </row>
+ <row>
+ <entry>safe_mode_include_dir</entry>
+ <entry>NULL</entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ </row>
+ <row>
+ <entry>safe_mode_exec_dir</entry>
+ <entry>""</entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ </row>
+ <row>
+ <entry>safe_mode_allowed_env_vars</entry>
+ <entry>PHP_</entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ </row>
+ <row>
+ <entry>safe_mode_protected_env_vars</entry>
+ <entry>LD_LIBRARY_PATH</entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ </row>
+ <row>
+ <entry>open_basedir</entry>
+ <entry>NULL</entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ </row>
+ <row>
+ <entry>disable_functions</entry>
+ <entry>""</entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ </row>
+ <row>
+ <entry>disable_classes</entry>
+ <entry>""</entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -215,6 +219,28 @@
</simpara>
</listitem>
</varlistentry>
+ <varlistentry id="ini.disable-classes">
+ <term>
+ <parameter>disable_classes</parameter>
+ <type>string</type>
+ </term>
+ <listitem>
+ <simpara>
+ ±¾Ö¸Áî¿ÉÒÔʹÄã³öÓÚ<link
+
linkend="security">°²È«</link>µÄÀíÓɽûÓÃijЩÀà¡£ÓöººÅ·Ö¸ôÀàÃû¡£disable_classes
+ ²»ÊÜ<link
linkend="ini.safe-mode">°²È«Ä£Ê½</link>µÄÓ°Ïì¡£
+ </simpara>
+ <simpara>
+ ±¾Ö¸ÁîÖ»ÄÜÉèÖÃÔÚ &php.ini;
ÖС£ÀýÈçÄã²»Äܽ«ÆäÉèÖÃÔÚ &httpd.conf;¡£
+ </simpara>
+ <note>
+ <title>¿ÉÓÃÐÔ˵Ã÷</title>
+ <simpara>
+ ±¾Ö¸Áî×Ô PHP 4.3.2 Æð¿ÉÓá£
+ </simpara>
+ </note>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
<para>
@@ -481,11 +507,20 @@
<function>set_time_limit</function>
</entry>
<entry>
- µ± PHP ÔËÐÐÓÚ°²È«Ä£Ê½µÄʱºò£¬º¯Êý
<function>set_time_limit</function> ½«²»Æð×÷Óá£
+ ÔÚ&safemode;ϲ»Æð×÷Óá£
</entry>
</row>
<row>
- <entry>ÈκÎʹÓÃ
+ <entry>
+ <link linkend="ini.max-execution-time">max_execution_time</link>
+ </entry>
+ <entry>
+ ÔÚ&safemode;ϲ»Æð×÷Óá£
+ </entry>
+ </row>
+ <row>
+ <entry>
+ ÈκÎʹÓÃ
<filename>php4/main/fopen_wrappers.c</filename> µÄº¯Êý
</entry>
<entry>??</entry>