If you use eAccelerator and have updated your php5 version  you need to recompile the plugin.

First step is to go in to the source listing of your eAccelerator and follow the instructions:

In my case the source is located in /usr/src/.

cd /usr/src/eaccelerator/
make clean
make install

Don’t forget to restart your apache:

/etc/init.d/apache2 restart

How to put in it in the first place? See article Install and Integrate eAccelerator into PHP5 on Debian Squeeze

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,, features support for PHP 5.3 and also works with PHP 5.1 and 5.2.

1. Installation:

apt-get update && apt-get upgrade && apt-get install php5-dev

Now  you  have to download and install eAccelerator from the eAccelerator website.

Now Install eAccelerator using the following commands:

cd /usr/src
wget http://bart.eaccelerator.net/source/
tar -xvfj eaccelerator-
cd eaccelerator-
make install

2. Integrate eAccelerator in PHP5:

Continue Reading…

Page 1 of 11