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

HTTP Authentication error in PHP

A HTTP Authentication error in PHP occurs when the user is not authorized to access the requested...

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

What port is MariaDB - MySQL on?

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

Useful CSV to MySQL Script

The link below is a great tool we have run into for converting CSV files into MySQL format:CSV to...

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