eAccelerator configuration in Debian
First you need to download php4-dev package which we need to compile eAccelerator
#apt-get install php4-dev
Download eAccelerator source package from here to /root folder and extract it
#tar jxvf eaccelerator-0.9.4.tar.bz2
Running phpize creates config file which is needed in make.
#./configure --enable-eaccelerator=shared --with-php-config=/usr/bin/php-config
After this installation completed.
Edit file /etc/php4/apache2/php.ini and add following lines:
Create temporary folder to eAccelerator
#chmod 0777 /tmp/eaccelerator
Restart apache and you're finished with the eAccelerator configuration
Testing Your installation
Create test.php file with following lines on it:
If you have eAccelerator info shown on that page, accelerator is working
If you want more information about eAccelerator click here