How to Disable XCache for a Domain

On many of our servers xcache is use as part of the php caching mechanism. If you are encountering a script having difficulty with it you may disable it via an .htaccess file in the scripts folder and the following lines:

php_flag xcache.cacher Off
php_flag xcache.size 0
php_flag xcache.stat Off


  • 132 Users Found This Useful

Was this answer helpful?

Related Articles

How can I parse .html as .php?

Create an .htaccess file and upload it to the root of your public_html directory. Include the...

Changing Maximum Upload Size

Firts check your control panel for the "PHP Options" icon. If available you can change the PHP...

Premature end of script headers

If you receive an Internal Server Error 500 and checking your log files displays "Premature end...

When trying to connect to MariaDB or MySQL you receive error 2003 Cannot connect to MySQL on x.x.x.x on port 3306 (10060)

Please ensure you have added the remote IP to the allow list in your hosting control panel...

Increase PHP Memory

Fatal error: Allowed memory size of xxxxxxxxx bytes exhausted (tried to allocate 1064256 bytes)....