eAccelerator is a PHP caching system, which caches frequently used portions of PHP files to RAM to increase performance. This is especially great on high traffic websites such as forums. Performance gains of up to 1000% have been seen with eAccelerator. The following tutorial shows how to install eAccelerator from source on Linux.
1. First, you'll want to SSH into your server as the root user. you should be in the default directory now. If you're not, type in cd ~
Now we'll make the eaccelerator directory:
mkdir /ea/
cd /ea/
2. Now we'll grab the files, and untar them:
Notice that it's a tar.bz2 file, so we need to decompress it twice.
wget http://kent.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.4-rc1.tar.bz2
bzip2 -d eaccelerator-0.9.4-rc1.tar.bz2
tar xvf eaccelerator-0.9.4-rc1.tar
3. Now that we've done that, let's install Eaccelerator:
Note: in the following "export" command, you need to point that to where PHP is installed. For most, it's usually either "usr/" or "usr/local", but it may be something else.
cd eaccelerator-0.9.4-rc1/
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config
make
make install