To get PHP5 and PHP4 to work at the same time you will also need to change all "php_value", "php_flag", "php_admin_flag", and "php_admin_value" occurences; otherwise, you can't set configuration file settings.
章 61. 从 PHP 4 移植到 PHP 5本章节将帮你从 PHP 4 移植到 PHP 5。
尽管 PHP 5 提供了很多新特性,但它还是尽可能设计得与之前版本的 PHP 兼容,只有很少功能不一致。 确认阅读了本手册中相应的 PHP 5 移植附录,它包含了更多移植到 PHP 5 的信息。 PHP 5 的主要改进就是 OOP 模型现在使用了 Zend Engine 2.0。zend.ze1_compatibility_mode 指令将激活与 Zend Engine 1.0(PHP 4)的兼容性。 其它几个改动见移植到 PHP 5 附录。没有专门的 PHP 5 手册,因为 PHP 的主要部分还是一样的。
gfrank at neoservers dot com
25-Jun-2007 03:17
To get PHP5 and PHP4 to work at the same time you will also need to change all "php_value", "php_flag", "php_admin_flag", and "php_admin_value" occurences; otherwise, you can't set configuration file settings.
odnowa-sql at o2 dot no-spam pl
29-Apr-2007 12:13
You can run PHP4 and PHP5 as Apache2 modules at the same time. The trick is to hack the sources a little bit. | ||