How-to install eAccelerator?

I’m using eAccelerator on two servers now, for both I’m using DirectAdmin as control panel. One is based on Ubuntu and the other one is running on Cent-OS.

Download eAccelerator from their website and follow their instructions (you need root access to install eAccelerator and it’s required to install php5-dev tools first):

wget http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2
tar xjvf eaccelerator-0.9.6.1.tar.bz2
cd eaccelerator-0.9.6.1
phpize
./configure --with-php-config=/usr/local/php5/bin/php-config
make

The “–with-php-config” setting is maybe not necessary, check your server for the right location.

It might be possible that you need to install the PHP dev tools first (yum install php-devel (Cent-OS or apt-get install php-dev) Continue reading How-to install eAccelerator?