eAccelerator on PHP 5

Here is what I did to get eAccelerator 0.9.5 running on PHP 5 on my V-Dedicated server. I did the exact steps when I had PHP 4 running the only difference was that with PHP 4 I used the 0.9.4 install of eAccelerator instead of 0.9.5. Everything was done via SSH access.

1. cd /usr/local/src/2. wget http://bart.eaccelerator.net/source/0.9.5/eaccelerator-0.9.5.tar.bz23. bunzip eaccelerator-0.9.5.tar.bz23. tar -xvf eaccelerator-0.9.5.tar4. cd eaccelerator-0.9.55. Run the following command inside that directory /usr/local/bin/phpize. You should get output like the following

Shell

1

2

3

4

Configuring for:

PHP Api Version:20041225

Zend Module Api No:20050922

Zend Extension Api No:220051025

6. Run the next commands to get it all configured to work with your system and compiled/installed

Of course make sure to change out extension=”/usr/local/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so” with the exact location of your module as told to you after the make install command.

10. Restart Apapche and it should be all set. You can load up your phpinfo page and you should see that the eAccelerator is loaded on the system