Knowledgebase: Web Hosting Related
How do I disable eAccelerator PHP caching on your linux servers?
Posted by Support, Last modified by Support on 18 August 2008 02:49 PM

eAccelerator is a linux installed server-side mechanism for boosting PHP performance. If you have web pages that you have changed, but when you go to them in your web browser they haven't changed, you can try one of two things. First make sure you have uploaded the web pages you have changed via FTP, if nessessary. Then clear your web browsers cache and reboot your computer. If that does not work, then try disabling eAccelerator by following the directions below. By default the timeout for cached pages is 60 minutes. You should see your site changes within 60 minutes if the caching has to do with eAccelerator and not web software you may be using such as Drupal or Joomla.

Currently eAccelerator is on by default. To disable it, make a .htaccess file in your 'html' directory, and add the following lines:

php_flag eaccelerator.enable 0
php_flag eaccelerator.optimizer 0


Similarly, if you'd like to turn off eAccelerator for a particular directory, put the following in a .htaccess file in that subdirectory:

php_flag eaccelerator.enable 0
php_flag eaccelerator.optimizer 0

For more info on eAccelerator, please see http://www.eaccelerator.net

(618 vote(s))
Helpful
Not helpful

Comments (0)