How To Install eAccelerator on cpanel

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

# unzip

# cd eaccelerator-

# phpize

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

# make

# make install

Once installation completed, then make sure 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

# chmod +x

# ./

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


Restart Apache

service httpd restart

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to disable user Custom PHP.INI files

Disable user unwanted custom php.ini file in your cpanel server. suPHP is a module that enhances...

Test MySQL database connection with php script

You can use the following php script which is used to test mysql database connection on your...

Important php security settings

PHP is a server side scripting language. You can embed PHP code in your web pages along with...

Enable Custom php.ini for Fast CGI

With fast-cgi, custom php.ini needs to be in the cgi-bin folder. 1) Move php.ini to cgi-bin...

Powered by WHMCompleteSolution