eAccelerator is a free open source PHP accelerator, optimizer, encoder and dynamic content cache for PHP. It increases performance of PHP scripts by caching them in compiled state, so that the overhead of compiling is almost completely eliminated. Also it uses some optimizations to speed up execution
of PHP scripts. eAccelerator typically reduces server load and increases the
speed of your PHP code by 1-10 times.

To install it you need to follow the below mentioned steps:
# wget http://space.dl.sourceforge.net/proj…or-
wget Download eAccelerator from SourceForge.net
# unzip eaccelerator-
# cd eaccelerator-
# phpize
# ./configure –enable-eaccelerator=shared –with-php-config=/usr/local/bin/php-config
# make
# make install

Now after this go inside this directory /usr/local/lib/php/extensions/no-debug-non-zts-20090626 and copy eaccelerator.so to /usr/local/lib/php
after that open php.ini file and put a extension=/usr/local/lib/php/eaccelerator.so there
restart apache
php -v to check it will show as

# php -v
PHP 5.3.8 (cli) (built: Oct 5 2011 18:13:49)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator

Thats it Done!!!

Thanks and regards.

Leave a Reply

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