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

Could not connect to the MariaDB - MySQL database

The error message "Could not connect to the MariaDB" can occur for a number of reasons. Some of...

Test MySQL Connection

The following is a great way to verify a MySQL / MariaDB database connection issue. Create a file...

Learn About MariaDB

MariaDB is a fork of MySQL, which was created by Michael "Monty" Widenius. MySQL was acquired by...

How do I backup a MariaDB - MySQL Database?

Here are the steps on how to backup a MySQL database using phpMyAdmin in your Ultra Web Hosting...

I am having problems with a script I wrote

PHP suexec is running on all of our shared servers. If you are running code that is insecure or...