eAccelerator is a free, open-source piece of software used to speed up PHP loading on websites. You install it onto your server and let it run in the background, delivering your PHP code to users’ browsers. You can install eAccelerator right from the cPanel interface

eAccelerator is a PHP accelerator and optimizer. It helps improve performance by re-using compiled PHP scripts and optimizing them to speed up their execution.

You can use the following simple steps to install eaccelerator on your cpanel server.

Method : 1

login SSH via root user and run this script.

/scripts/phpextensionmgr install EAccelerator

Once completed just check with php -v command.

Thats all !!

Method : 2

You can use another method to install it.

Download latest eaccelerator


# wget http://downloads.sourceforge.net/project/eaccelerator/eaccelerator/eAccelerator%

# unzip eaccelerator-

# cd eaccelerator-

# phpize

#./configure  --enable-eaccelerator=shared  --with-php-config=/usr/local/bin/php-config

# make

# make install

Once installation completed, then make sure eaccelerator.so file available on extensions directory.


Add the following lines at the end of php.ini


Restart Apache webserver.

service httpd restart

Method : 3

Install eaccelerator through shell script.

# wget http://tutorials.medialayer.com/cPanel/eaccelerator.sh

# chmod +x eaccelerator.sh

# ./eaccelerator.sh

open php.ini file and add this line at the end


Restart Apache

service httpd restart


Get Free cPanel Knowledge Base

Thank you for subscribing.

Something went wrong.

4.67 avg. rating (93% score) - 3 votes