#edit line below to suit your setup
cd /path/to/eaccelerator/source/

sudo make clean
sudo phpize
sudo ./configure --enable-eaccelerator=shared
sudo make
sudo make install
sudo apache2ctl restart
cd ..

