用户
 找回密码
 入住 CI 中国社区
搜索
查看: 3679|回复: 2
收起左侧

纠结于php版本选择

[复制链接]
发表于 2011-4-14 17:48:53 | 显示全部楼层 |阅读模式
今天把php升级到6.0以后,运行着的stblog就挂了,原因是很多函数在php6.0中不在支持。
PHP复制代码
 
PHP Warning:  Directive 'register_globals' is no longer supported in PHP 6 and greater in Unknown on line 0
PHP Warning:  Directive 'register_long_arrays' is no longer supported in PHP 6 and greater in Unknown on line 0
PHP Warning:  Directive 'magic_quotes_gpc' is no longer supported in PHP 6 and greater in Unknown on line 0
 
复制代码

现在有两种方法:php版本回去低版本,修改源码。

觉得这两种办法都不是什么比较妙的办法,不知道各位有什么好的解决方法。
发表于 2011-4-14 19:53:11 | 显示全部楼层
根本就不应该使用 PHP 6,还没有发布的东西,没人会支持。
你只能是把 PHP6 当作玩具,而 CI 不是玩具,所以不能用。
 楼主| 发表于 2011-4-15 11:37:51 | 显示全部楼层
很奇怪的很多集成的“X”amp都已经是php6了 慵懒一下使用集成的就惨了

本版积分规则