XCache: cannot init in Laravel 5.1 application

烈酒焚心 提交于 2019-12-13 05:07:13

问题


I'm developing a Laravel 5.1 web application. The application is working absolutely fine on my localhost but when I deploy the website on a cPanel shared hosting it get following error.

FatalErrorException in Unknown line 0: XCache: Cannot init in Unknown line 0

Sometimes, this error disappears by reloading the page but appears again after reloading several times. I've tried disabling the XCache by editing the .htaccess file as described in this link but it stills generates the same error. How can I resolve this error? Any help will be appreciated. Thanks.


回答1:


Upgrading the PHP version to 5.5 and enabling Xcache worked for me.



来源:https://stackoverflow.com/questions/34305531/xcache-cannot-init-in-laravel-5-1-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!