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.
Upgrading the PHP version to 5.5 and enabling Xcache worked for me.