Pages

Saturday, May 26, 2018

How to Install eAccelerator on cPanel Server

eAccelerator is a free open-source PHP optimizer & accelerator. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. Enhances execution of scripts. It typically reduces server load and increases the speed of your PHP code by 10 times. Stores compiled PHP scripts in shared memory and executes code directly from it. It creates locks for a short time, so one script can be executed at the same time by several engines. Files that can’t fit in shared memory are cached on disk.
Installing eAccelerator on your linux dedicated/VPS can be achieved by just one command.

 
# /scripts/phpextensionmgr install eAccelerator 

Un-installation of eAccelerator

/scripts/phpextensionmgr uninstall EAccelerator


Check with the command below if eAccelerator has been installed properly.


# php -v
Make sure that the eaccelerator.so file available on extensions directory after the eAccelerator installation.

/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 web-server.

service httpd restart


No comments:

Post a Comment