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

http://sourceforge.net/projects/eaccelerator/

# wget http://downloads.sourceforge.net/project/eaccelerator/eaccelerator/eAccelerator%200.9.6.1/eaccelerator-0.9.6.1.zip

# unzip eaccelerator-0.9.6.1.zip

# cd eaccelerator-0.9.6.1

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

/usr/local/lib/php/extensions/no-debug-non-zts-20090626

Add the following lines at the end of php.ini

extension=”eaccelerator.so”

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

extension=/usr/local/lib/php/eaccelerator.so

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