Parse error: syntax error, unexpected T_FUNCTION in /home2/regentsr/public_html/app/Plugin/DebugKit/

来源:互联网 发布:传奇物品信息数据丢失 编辑:程序博客网 时间:2024/05/17 22:23

装好CakePHP和Debugkit时,出现这个错误,

Parse error: syntax error, unexpected T_FUNCTION in /home2/regentsr/public_html/app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php on line 179

没办法,php版本是5.2.8的吧。所有一直出错。后面想升级PHP版本时,照着网上的资料没有成功,后面下载到一个比较新的wamp Server,就没再搞了。

下面是这个问题的链接:

https://github.com/cakephp/debug_kit/issues/142

大家可以参考下,其他篇也有一个PHP升级的链接。大家可以照着搞一下。


0 0
原创粉丝点击