XCache: cannot init in Laravel 5.1 application

2019-09-11 00:45发布

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条回答
我命由我不由天
2楼-- · 2019-09-11 01:09

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

查看更多
登录 后发表回答