How can I stop Eaccelerator from filling up /tmp?

If you simply want to clean out the /tmp/eaccerlator folder, the following command does the trick on CentOS and RedHat systems.

tmpwatch --mtime --all 336 /tmp/eaccelerator

To permanently fix the issue:

Login to your server as root :

# nano /usr/lib/php.ini

Find (You can use ctrl+w):


and change it from /tmp/eaccelerator to /var/cache/eaccelerator and save the file.

# mkdir /var/cache/eaccelerator

#service httpd stop

#rm -rf /tmp/eaccelerator

#service httpd start

Was this answer helpful?

 Print this Article

Related Articles

How can I tell how much RAM my server will support?

Log in to your server as root and run the following command:dmidecode -t 16It should tell you...

Install a Trsuted SSL for cPanel Services

Issue the csr for the hostname of the server.Once issued, instead of installing through the SSL...

Can I get Windows on my dedicated server?

You can request Windows instead of Linux on dedicated servers. Windows licensing varies in price...

How To Install eAccelerator In CPanel

eAccelerator is a PHP accelerator and optimizer. It helps improve performance by re-using...