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

or...


php_value xcache.enable Off

 

The .htaccess file is a text file that contains configuration directives for Apache.

You can use the .htaccess file to disable XCache for a specific domain.

 

  • 136 Users Found This Useful

Was this answer helpful?

Related Articles

Increase PHP Memory

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

How do I update my version of PHP?

PHP needs to be updated. What do I do?We make changing your version of PHP easy. Simply login to...

phpMyAdmin - Error Incorrect format parameter

When importing a database with phpMyAdmin I receive the error "Error Incorrect format parameter"....

When trying to connect to MariaDB or MySQL you receive error 2003 Cannot connect to MySQL on xxxxxx on port 3306 10060

The error 2003 "Cannot connect to MySQL on xxxxxx on port 3306 10060" means that the MySQL...

Changing your PHP version

Have you received an error regarding your PHP version? If so, you may quickly and easily change...