开发者

Uncaught exception 'Zend_Config_Exception' with message 'Comments starting with '#' are deprecated

I have developed a web application and deployed the same under php version 5.2.13 but when i shifted the same to server having PHP Version 5.3.6 it started to give me the error

开发者_C百科Uncaught exception 'Zend_Config_Exception' with message 'Comments starting with '#' are deprecated in ...

Please suggest any workaround to run the same without downgrading the php version.


The clue is in the error. You can no longer comment out lines in an ini file using a hash, use a semi-colon instead. If you simply change this in whichever ini file it's complaining about the error should disappear.

Edit: Since the error is coming from Zend_Config I'm assuming it's an ini file it's complaining about. If it's a PHP script then use // to comment out the line instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜