magento -- magento不能安装在php5.2.3版本上安装

来源:互联网 发布:linux如何禁用端口 编辑:程序博客网 时间:2024/06/06 13:25

这是magento的一个BUG.PHP 5.3 对magic method做了修改,导致magento在php5.3上面安装时出现如下错误:


Fatal error: Method Varien_Object::__tostring() cannot take arguments in /www/mag132.com/lib/Varien/Object.php on line 489

magento开发组到目前对此还末正式回应处理,只是列入在bug列表中.真是遗憾.

参考PHP官方对 5.3版本发布的说明:

http://www.php.net/manual/en/migration53.incompatible.php

 

解决办法是在magento代码中去掉使用php5.3不兼容的代码,不过这并不是最好的解决方案,因为这样虽然可以安装,但是也会带来更多的末知问题。

原创粉丝点击