cvs: phpdoc-zh /appendices migration4.xml phpdevel.xml /chapters install.apache2.xml security.xml /features safe-mode.xml /howto howto.xml

From: Date: Tue, 27 May 2003 06:34:41 +0000
Subject: cvs: phpdoc-zh /appendices migration4.xml phpdevel.xml /chapters install.apache2.xml security.xml /features safe-mode.xml /howto howto.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-1488@lists.php.net to get a copy of this message
gregory Tue May 27 02:34:41 2003 EDT Modified files: /phpdoc-zh/howto howto.xml /phpdoc-zh/chapters install.apache2.xml security.xml /phpdoc-zh/appendices migration4.xml phpdevel.xml /phpdoc-zh/features safe-mode.xml Log: Up-to-date with En-Version

Index: phpdoc-zh/howto/howto.xml diff -u phpdoc-zh/howto/howto.xml:1.10 phpdoc-zh/howto/howto.xml:1.11 --- phpdoc-zh/howto/howto.xml:1.10 Wed May 7 04:54:08 2003 +++ phpdoc-zh/howto/howto.xml Tue May 27 02:34:40 2003 @@ -15,9 +15,9 @@ <!ENTITY howto.editors SYSTEM "editors.xml"> ]> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- $Author: gregory $ --> -<!-- EN-Revision: 1.39 Maintainer: Gregory Status: ready --> +<!-- EN-Revision: 1.41 Maintainer: Gregory Status: ready --> <!-- TODO @@ -28,7 +28,8 @@ Other useful links: http://www.dpawson.co.uk/docbook/ http://www.sagehill.net/xml/docbookxsl/ - + http://cvsbook.red-bean.com/ + DSSSL and openjade information page: http://www.netfolder.com/DSSSL/index.html @@ -39,6 +40,9 @@ DocBook editors list to check: http://www.docbook.org/wiki/moin.cgi/DocBookAuthoringTools + DocBook and OpenOffice.org + http://www.zzoss.com/projects/oowdbk/ + Document new behaviour Sections need to be added: Index: phpdoc-zh/chapters/install.apache2.xml diff -u phpdoc-zh/chapters/install.apache2.xml:1.6 phpdoc-zh/chapters/install.apache2.xml:1.7 --- phpdoc-zh/chapters/install.apache2.xml:1.6 Tue Apr 1 04:15:12 2003 +++ phpdoc-zh/chapters/install.apache2.xml Tue May 27 02:34:40 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- $Author: gregory $ --> -<!-- EN-Revision: 1.10 Maintainer: Gregory Status: ready --> +<!-- EN-Revision: 1.11 Maintainer: Gregory Status: ready --> <sect1 id="install.apache2"> <title>Apache ·þÎñÆ÷ 2.x °æ±¾</title> <para> @@ -133,7 +133,7 @@ ÓÐÁ½ÖÖ·½·¨Ê¹µÃ <literal>PHP</literal> ¹¤×÷ÔÚ Windows Ï嵀 Apache¡£Ò»ÊÇʹÓà CGI ¶þ½øÖÆÎļþ£¬ÁíÒ»ÊÇʹÓà Apache Ä£¿é DLL¡£ÎÞÁÄÄÇÖÖ·½·¨£¬ÄúÊ×ÏȱØÐëÍ£Ö¹ Apache ·þÎñÆ÷£¬È»ºó±à¼­ &httpd.conf;£¬ÒÔÅäÖà Apache ºÍ <literal>PHP</literal> Эͬ¹¤×÷¡£ </para> <para> - ÄúÐèÒª½«ÈçÏÂÖ¸Áî²åÈëµ½ Apache µÄ <filename>httpd.conf</filename> ÅäÖÃÎļþÖУ¬ÒÔÉèÖÃ<emphasis>CGI ¶þ½øÖÆÎļþ</emphasis>£º + ÄúÐèÒª½«ÈçÏÂÖ¸Áî²åÈëµ½ Apache µÄ &httpd.conf; ÅäÖÃÎļþÖУ¬ÒÔÉèÖÃ<emphasis>CGI ¶þ½øÖÆÎļþ</emphasis>£º <example> <title>PHP ÒÔ CGI ·½Ê½°²×°µ½ Apache 2.0</title> <programlisting role="apache"> @@ -146,7 +146,7 @@ </example> </para> <para> - Èç¹ûÄúÏë°Ñ <literal>PHP</literal> ×÷Ϊ Apache 2.0 µÄÄ£¿é£¬ÇëÎñ±ØÒƶ¯ <filename>php4ts.dll</filename> µ½ <filename>winnt/system32</filename>£¨Windows NT/2000£©»ò <filename>windows/system32</filename> £¨Windows XP£©£¬¸²¸ÇÔ­ÓÐÎļþ£¨Èç¹ûÓеϰ£©¡£È»ºóÄúÐèÒª²åÈëÈçÏÂÁ½Ðе½ <filename>httpd.conf </filename> ÖУ¬ÒÔʹÄúµÄ PHP ×÷Ϊ Apache µÄ <emphasis>PHP-Module</emphasis> °²×°£º + Èç¹ûÄúÏë°Ñ <literal>PHP</literal> ×÷Ϊ Apache 2.0 µÄÄ£¿é£¬ÇëÎñ±ØÒƶ¯ <filename>php4ts.dll</filename> µ½ <filename>winnt/system32</filename>£¨Windows NT/2000£©»ò <filename>windows/system32</filename> £¨Windows XP£©£¬¸²¸ÇÔ­ÓÐÎļþ£¨Èç¹ûÓеϰ£©¡£È»ºóÄúÐèÒª²åÈëÈçÏÂÁ½Ðе½ &httpd.conf; ÖУ¬ÒÔʹÄúµÄ PHP ×÷Ϊ Apache µÄ <emphasis>PHP-Module</emphasis> °²×°£º <example> <title>PHP ÒÔÄ£¿é·½Ê½°²×°µ½ Apache 2.0</title> <programlisting role="apache"> Index: phpdoc-zh/chapters/security.xml diff -u phpdoc-zh/chapters/security.xml:1.7 phpdoc-zh/chapters/security.xml:1.8 --- phpdoc-zh/chapters/security.xml:1.7 Tue May 20 03:01:55 2003 +++ phpdoc-zh/chapters/security.xml Tue May 27 02:34:40 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- $Author: gregory $ --> -<!-- EN-Revision: 1.55 Maintainer: Gregory Status: ready --> +<!-- EN-Revision: 1.56 Maintainer: Gregory Status: ready --> <chapter id="security"> <title>°²È«</title> @@ -159,7 +159,7 @@ <title>°²×°Îª Apache Ä£¿é</title> <simpara> µ± PHP ±»ÓÃ×÷ Apache µÄÄ£¿éʱ£¬Ëü½«¼Ì³Ð Apache µÄÓû§È¨ÏÞ£¨µäÐÍÇé¿öΪÓû§¡°nobody¡±£©¡£ - Õ⽫¶Ô°²È«¼°ÊÚȨ»úÖÆ²úÉúһЩ³å»÷¡£ÀýÈ磬Èç¹ûÄúʹÓà PHP À´·ÃÎÊÊý¾Ý¿â£¬³ý·ÇÊý¾Ý¿â±¾ÉíÓÐÄÚ½¨µÄ·ÃÎÊ¿ØÖÆ£¬·ñÔòÄú½«Ê¹µÃÊý¾Ý¿âÄܹ»±»Óû§¡°nobody¡±·ÃÎÊ¡£ÕâÒâζ×ŶñÒâµÄ½Å±¾Äܹ»·ÃÎʲ¢ÐÞ¸ÄÊý¾Ý¿â£¬ÉõÖÁ²»ÐèÒªÓû§ÃûºÍÃÜÂë¡£ÍøÂçºÚ¿ÍÎÞÒâÖзÃÎʵ½ÁËÊý¾Ý¿â¹ÜÀíÔ±µÄ WEB Ò³Ãæ²¢Í¨¹ýÕâÀïɾ³ýËùÓеÄÊý¾Ý¿âÊÇÍêÈ«ÓпÉÄÜ·¢ÉúµÄ¡£Äú¿ÉÒÔÀûÓà Apache µÄÈÏÖ¤»úÖÆÀ´·ÀÖ¹ÕâЩµÄ·¢Éú£¬»òÕßÒ²¿ÉÒÔÀûÓà LDAP »ò .htaccess ÎļþµÈÀ´Éè¼ÆÄú×Ô¼ºµÄ·ÃÎÊģʽ£¬²¢½«ÕâЩ´úÂë°üº¬ÎªÄú PHP ½Å±¾µÄÒ»²¿·Ö¡£ + Õ⽫¶Ô°²È«¼°ÊÚȨ»úÖÆ²úÉúһЩ³å»÷¡£ÀýÈ磬Èç¹ûÄúʹÓà PHP À´·ÃÎÊÊý¾Ý¿â£¬³ý·ÇÊý¾Ý¿â±¾ÉíÓÐÄÚ½¨µÄ·ÃÎÊ¿ØÖÆ£¬·ñÔòÄú½«Ê¹µÃÊý¾Ý¿âÄܹ»±»Óû§¡°nobody¡±·ÃÎÊ¡£ÕâÒâζ×ŶñÒâµÄ½Å±¾Äܹ»·ÃÎʲ¢ÐÞ¸ÄÊý¾Ý¿â£¬ÉõÖÁ²»ÐèÒªÓû§ÃûºÍÃÜÂë¡£ÍøÂçºÚ¿ÍÎÞÒâÖзÃÎʵ½ÁËÊý¾Ý¿â¹ÜÀíÔ±µÄ WEB Ò³Ãæ²¢Í¨¹ýÕâÀïɾ³ýËùÓеÄÊý¾Ý¿âÊÇÍêÈ«ÓпÉÄÜ·¢ÉúµÄ¡£Äú¿ÉÒÔÀûÓà Apache µÄÈÏÖ¤»úÖÆÀ´·ÀÖ¹ÕâЩµÄ·¢Éú£¬»òÕßÒ²¿ÉÒÔÀûÓà LDAP »ò &htaccess; ÎļþµÈÀ´Éè¼ÆÄú×Ô¼ºµÄ·ÃÎÊģʽ£¬²¢½«ÕâЩ´úÂë°üº¬ÎªÄú PHP ½Å±¾µÄÒ»²¿·Ö¡£ </simpara> <simpara> ͨ³££¬Ò»µ©°²È«»úÖÆ½¨Á¢²¢Ê¹µÃ PHP µÄÓÃÓÚ£¨ÔÚÕâÖÖÇé¿öÏ£¬Îª Apache Óû§£©½öΪ´Ë³Ðµ£ºÜСµÄ·çÏÕʱ£¬ÎÒÃÇ·¢ÏÖ PHP ´Ëʱ±»½ûÖ¹ÍùÓû§Ä¿Â¼Ð´ÈëÈκÎÎļþ£¬»òÕß»¹ÓпÉÄܱ»½ûÖ¹·ÃÎʺ͸ü¸ÄÊý¾Ý¿â¡£ÎÞÂÛÍù·ÀÖ¹µÄ¶ÔÏóÖÐдÈëÎļþµÄºÃ»µÒÔ¼°½øÈëµÄÊý¾Ý¿âÊÂÎñµÄºÃ»µ£¬Æä°²È«ÐÔ¶¼ÊÇͬµÈµÄ¡£ @@ -1008,7 +1008,7 @@ </para> <para> Another tactic is to configure web servers such as apache to - parse different filetypes through PHP, either with an .htaccess + parse different filetypes through PHP, either with an &htaccess; directive, or in the apache configuration file itself. You can then use misleading file extensions: <example> Index: phpdoc-zh/appendices/migration4.xml diff -u phpdoc-zh/appendices/migration4.xml:1.7 phpdoc-zh/appendices/migration4.xml:1.8 --- phpdoc-zh/appendices/migration4.xml:1.7 Tue Apr 22 01:41:03 2003 +++ phpdoc-zh/appendices/migration4.xml Tue May 27 02:34:40 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- $Author: gregory $ --> -<!-- EN-Revision: 1.33 Maintainer: class007 Status: ready --> +<!-- EN-Revision: 1.34 Maintainer: class007 Status: ready --> <appendix id="migration4"> <title>´Ó PHP 3 ÒÆÖ²µ½ PHP 4</title> @@ -92,7 +92,7 @@ <itemizedlist> <listitem> <simpara> - Admin values£¨»ò flags£©Ö¸½ö¿ÉÒÔ³öÏÖÔÚ·þÎñÆ÷·¶Î§ÄÚµÄ apache ÅäÖÃÎļþ£¨ÀýÈ磺httpd.conf£©¡£ + Admin values£¨»ò flags£©Ö¸½ö¿ÉÒÔ³öÏÖÔÚ·þÎñÆ÷·¶Î§ÄÚµÄ apache ÅäÖÃÎļþ£¨ÀýÈ磺&httpd.conf;£©¡£ </simpara> </listitem> <listitem> Index: phpdoc-zh/appendices/phpdevel.xml diff -u phpdoc-zh/appendices/phpdevel.xml:1.24 phpdoc-zh/appendices/phpdevel.xml:1.25 --- phpdoc-zh/appendices/phpdevel.xml:1.24 Tue May 6 03:24:10 2003 +++ phpdoc-zh/appendices/phpdevel.xml Tue May 27 02:34:41 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.24 $ --> +<!-- $Revision: 1.25 $ --> <!-- $Author: gregory $ --> -<!-- EN-Revision: 1.23 Maintainer: class007 Status: working --> +<!-- EN-Revision: 1.24 Maintainer: class007 Status: working --> <!-- CREDITS: dallas --> <appendix id="phpdevel"> <title>À©Õ¹ PHP 3</title> @@ -662,7 +662,7 @@ to the php3_commands structure in mod_php3.c. Note the restrictions part. RSRC_CONF are directives that can only be present in the actual Apache .conf files. Any OR_OPTIONS - directives can be present anywhere, include normal .htaccess + directives can be present anywhere, include normal &htaccess; files.</simpara></listitem> <listitem><simpara>In either php3take1handler() or Index: phpdoc-zh/features/safe-mode.xml diff -u phpdoc-zh/features/safe-mode.xml:1.13 phpdoc-zh/features/safe-mode.xml:1.14 --- phpdoc-zh/features/safe-mode.xml:1.13 Thu May 15 15:29:59 2003 +++ phpdoc-zh/features/safe-mode.xml Tue May 27 02:34:41 2003 @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.14 $ --> <!-- $Author: gregory $ --> -<!-- EN-Revision: 1.38 Maintainer: thomaslio Status: ready --> -<!-- CREDITS: Gregory,dallas --> +<!-- EN-Revision: 1.39 Maintainer: thomaslio Status: ready --> +<!-- CREDITS: Gregory, dallas --> <chapter id="features.safe-mode"> <title>°²È«Ä£Ê½</title> @@ -294,7 +294,7 @@ </screen> </para> <para> - ÄúÒ²¿ÉÒÔµ¥¶ÀµØÆÁ±ÎijЩº¯Êý¡£Çë×¢Òâ disable_functions Ñ¡Ïî²»ÄÜÔÚ &php.ini; ÎļþÍⲿʹÓã¬Ò²¾ÍÊÇ˵ÄúÎÞ·¨ÔÚ httpd.conf ÎļþµÄ°´²»Í¬ÐéÄâÖ÷»ú»ò²»Í¬Ä¿Â¼µÄ·½Ê½À´ÆÁ±Îº¯Êý¡£ + ÄúÒ²¿ÉÒÔµ¥¶ÀµØÆÁ±ÎijЩº¯Êý¡£Çë×¢Òâ disable_functions Ñ¡Ïî²»ÄÜÔÚ &php.ini; ÎļþÍⲿʹÓã¬Ò²¾ÍÊÇ˵ÄúÎÞ·¨ÔÚ &httpd.conf; ÎļþµÄ°´²»Í¬ÐéÄâÖ÷»ú»ò²»Í¬Ä¿Â¼µÄ·½Ê½À´ÆÁ±Îº¯Êý¡£ Èç¹ûÎÒÃǽ«ÈçÏÂÄÚÈݼÓÈëµ½ &php.ini; Îļþ£º <programlisting role="ini"> <![CDATA[
« previous php.doc.zh (#1488) next »