cakephp报错FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 77 bytes)

cakephp报错

FastCGI sent in stderr: "PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 77 bytes)

开始以为是内存原因,调整php.ini的memory_limit,没用,看报错日志

ErrorHandler::handleException(Object(CakeSessionException))

问题出在session上,查资料

参考

https://stackoverflow.com/questions/19004460/cakephp-error-unable-to-configure-the-session-setting-session-auto-start-faile

 

在php.ini中打开设置session.auto_start

可以正常运行了

posted on 2018-01-23 01:38  小驴phper  阅读(746)  评论(0)    收藏  举报

导航