eAccelerator is a free open-source PHP accelerator & optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.
eAccelerator stores compiled PHP scripts in shared memory and executes code directly from it. It creates locks only for a short time, while searching for a compiled PHP script in the cache, so one script can be executed simultaneously by several engines. Files that can’t fit in shared memory are cached on disk only.
The latest release, 0.9.6.1, features support for PHP 5.3 and also works with PHP 5.1 and 5.2.
update && apt-get upgrade &&
Now you have to download and install eAccelerator from the eAccelerator website.
Now Install eAccelerator using the following commands:
tar -xvfj eaccelerator-0.9.6.1.tar.bz2
2. Integrate eAccelerator in PHP5: