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

 

4.67 avg. rating (92% score) - 3 votes
Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive