How to Install eAccelerator on Server

eAccelerator Installation

Unpack the eAccelerator archive and go to the folder, then type:

phpize
./configure
make
make install

eAccelerrator Installed.

Create temporary folder for cache storage:

mkdir /var/cache/eaccelerator

chmod 0777 /var/cache/eaccelerator

Add the following lines to the end of php.ini file (/etc/php.ini or/usr/lib/php.ini):

extension=”eaccelerator.so”
eaccelerator.shm_size=”16″
eaccelerator.cache_dir=”/var/cache/eaccelerator”
eaccelerator.enable=”1″
eaccelerator.optimizer=”1″
eaccelerator.check_mtime=”1″
eaccelerator.debug=”0″
eaccelerator.filter=””
eaccelerator.shm_max=”0″
eaccelerator.shm_ttl=”0″
eaccelerator.shm_prune_period=”0″
eaccelerator.shm_only=”0″
eaccelerator.compress=”1″
eaccelerator.compress_level=”9″

Leave a comment

Your email address will not be published. Required fields are marked *