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.

 

  • 132 Users Found This Useful

Was this answer helpful?

Related Articles

How do I add a user to a MariaDB & MySQL database?

There are two ways to add a user to a MySQL database with Ultra Web Hosting:   Using...

Disable MySQL strict mode on cPanel server

here are the steps on how to disable MySQL strict mode on a cPanel server:   Log in to your...

Error 500 - Internal Server Error - PHP

This can be due to several factors. The first thing to check is that the permissions on the file...

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...

What is the proper MariaDB - MySQL import and export format?

Sure, here are the steps on how to import and export databases using phpMyAdmin in your control...