cvs: phpdoc-zh /faq migration5.xml

From: Date: Wed, 10 Aug 2005 18:47:26 +0000
Subject: cvs: phpdoc-zh /faq migration5.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2138@lists.php.net to get a copy of this message
dallas Wed Aug 10 14:47:26 2005 EDT Added files: /phpdoc-zh/faq migration5.xml Log: Add new file, translated. http://cvs.php.net/co.php/phpdoc-zh/faq/migration5.xml?r=1.1&p=1 Index: phpdoc-zh/faq/migration5.xml +++ phpdoc-zh/faq/migration5.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision:1.3 Maintainer: dallas Status: ready --> <chapter id="faq.migration5"> <title>´Ó PHP 4 Ïò PHP 5 ÒÆÖ²</title> <titleabbrev>´Ó PHP 4 Ïò PHP 5 ÒÆÖ²</titleabbrev> <para> ±¾Õ½ڽ«°ïÄã´Ó PHP 4 ÒÆÖ²µ½ PHP 5¡£ </para> <qandaset> <qandaentry id="faq.migration5.php45"> <question> <para> ´Ó PHP 4 Ïò PHP 5 ÒÆÖ² </para> </question> <answer> <para> ¾¡¹Ü PHP 5 ÌṩÁ˺ܶàÐÂÌØÐÔ£¬µ«Ëü»¹ÊǾ¡¿ÉÄÜÉè¼ÆµÃÓë֮ǰ°æ±¾µÄ PHP ¼æÈÝ£¬Ö»ÓкÜÉÙ¹¦Äܲ»Ò»Ö¡£ </para> <para> È·ÈÏÔĶÁÁ˱¾ÊÖ²áÖÐÏàÓ¦µÄ <link linkend="migration5">PHP 5 ÒÆÖ²¸½Â¼</link>£¬Ëü°üº¬Á˸ü¶àÒÆÖ²µ½ PHP 5 µÄÐÅÏ¢¡£ </para> </answer> </qandaentry> <qandaentry id="faq.migration5.mysql"> <question> <para> PHP 5 Öл¹ÄÜÓà MySQL Â𣿺ÃÏñÕÒ²»µ½ÁË¡£ </para> </question> <answer> <para> <link linkend="ref.mysql">MySQL</link> ÒÀÈ»±»Ö§³Ö£¬Î¨Ò»Çø±ðÊÇ PHP 5 ÖÐ<emphasis>ĬÈÏ</emphasis>Ϊ²»¼¤»î¡£ÕâÒâζ×ÅÔÚ PHP µÄ <link linkend="configuration">configure</link> Ò»ÐÐÖв»°üº¬ÓÐ <option role="configure">--with-mysql</option> Ñ¡ÏÒò´Ë±ØÐëÔÚ±àÒëʱÊÖ¹¤¼ÓÈë¡£Windows Óû§¿ÉÒԱ༭ &php.ini ²¢¼¤»î <filename>php_mysql.dll</filename> DLL¡£ÔÚ PHP 4 ÖÐûÓÐÕâ¸ö DLL£¬ÒòΪÒѾ­±àÒë½ø PHP ¿ÉÖ´ÐÐÎļþÖÐÈ¥ÁË¡£ </para> <para> ´ËÍ⣬MySQL ¿Í»§¶Ë¿âÒ²²»ÔÙ°ó¶¨ÓÚ PHP ÖÐÁË¡£ÓйشËÌâÄ¿µÄ¸ü¶àϸ½Ú¼û<link linkend="faq.databases.mysql.php5">´Ë FAQ</link>¡£ÁíÍâÈ·±£ÔĶÁÁË <link linkend="ref.mysql">MySQL Õ½Ú</link>ÖеݲװÏêÇé¡£Ò»¸öÅäÖÃÐеÄÀý×ÓÊÇ <option role="configure">--with-mysql=/usr</option>£¬Windows Óû§ÔòÐèÒª <filename>libmySQL.dll</filename>¡£ </para> </answer> </qandaentry> <qandaentry id="faq.migration5.oop"> <question> <para> Ìý˵ PHP ÓиöÈ«Ð嵀 OOP Ä£ÐÍ£¬ÄÇÏÖÓÐµÄ OOP ´úÂ뻹ÄÜÔËÐÐÂð£¿ÉÏÄÄÈ¥ÕÒÕâЩÐ嵀 OOP ÌØÐÔµÄÐÅÏ¢£¿ </para> </question> <answer> <para> PHP 5 µÄÖ÷Òª¸Ä½ø¾ÍÊÇ OOP Ä£ÐÍÏÖÔÚʹÓÃÁË <emphasis>Zend Engine 2.0</emphasis>¡£<link linkend="ini.zend.ze1-compatibility-mode"> zend.ze1_compatibility_mode</link> Ö¸Á¼¤»îÓë Zend Engine 1.0£¨PHP 4£©µÄ¼æÈÝÐÔ¡£ </para> <para> Ð嵀 OOP Ä£ÐÍÎĵµ¼û <link linkend="language.oop5">OOP ÓïÑÔÊÖ²á</link>ºÍ <link linkend="migration5.oop">OOP ÒÆÖ²¸½Â¼</link>Õ½ڡ£ </para> </answer> </qandaentry> <qandaentry id="faq.migration5.changes"> <question> <para> ³ýÁË OOP Ä£ÐÍ£¬PHP 5 »¹ÓÐÄÄЩ¸Ä¶¯£¿´ËÍ⣬ÓÐûÓÐרÃÅÕë¶Ô PHP 5 µÄÊֲ᣿ </para> </question> <answer> <para> ÆäËü¼¸¸ö¸Ä¶¯¼û<link linkend="migration5">ÒÆÖ²µ½ PHP 5 ¸½Â¼</link>¡£Ã»ÓÐרÃÅµÄ PHP 5 ÊֲᣬÒòΪ PHP µÄÖ÷Òª²¿·Ö»¹ÊÇÒ»ÑùµÄ¡£ </para> </answer> </qandaentry> </qandaset> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

« previous php.doc.zh (#2138) next »