Your Webhosting Questions
Answered by the Webhosting Experts

Install eAccelerator on server

Following are the steps to install eAccelerator:

step 1: Download from and install.

Compiling eAccelerator: You need to run these commands in the eAccelerator source directory. eAccelerator supports multiple php branches so you need to bootstrap eAccelerator first. This can be done with the phpize script. It very important that you use the phpize script of the php version for which you want to compile eAccelerator. The phpize and php-config scripts are available in the development packages of your distro. For fedora this is php-devel, for debian php-dev, other distribution should be similar.

When you have only one php install, it’s safe to run these commands in the source directory:


The phpize and php-config are the ones that are in your path. When you have more then one php install or the phpize and php-config scripts aren’t in your path then you should follow this procedure. This example has php installed in /opt/php, this is the path of the –prefix option given to the php configuration script.

export PHP_PREFIX=”/opt/php”
./configure –enable-eaccelerator=shared –with-php-config=$PHP_PREFIX/bin/php-config

Step 2. Installing eAccelerator :

make install

This will copy the previously created eAccelerator binary to the php extension directory. When this command ends, it will print out the directory in which eAccelerator has been installed.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +