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.

 

  • 138 Users Found This Useful

Was this answer helpful?

Related Articles

Learn About MySQL

MySQL is a relational database management system (RDBMS) that is open-source and free to use. It...

Premature end of script headers

The error message Premature end of script headers means that the PHP script stopped executing...

What port is MariaDB - MySQL on?

MariaDB and MySQL, two popular open-source relational database management systems (RDBMS), use...

What is the path to PHP?

The path to PHP on Ultra Web Hosting is /usr/bin/php.  Ultra runs many different versions of PHP...

Clean - Shrink ibdata1

To shrink ibdata1 once and for all you must do the following:MySQLDump all databases into a SQL...