Skip to main content

eAccelerator

eAccelerator

Posted in

eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.

Installation

  1. Download the latest version:
    cd /extra/src
    wget http://bart.eaccelerator.net/source/0.9.6/eaccelerator-0.9.6.tar.bz2
    tar jxf eaccelerator-0.9.6.tar.bz2
    cd eaccelerator-0.9.6
  2. Prepare the source code for compiling as a PHP extension using phpize:, then configure, build and install it:
    phpize
    ./configure
    make
    make install
  3. Install it as a PHP extension in /usr/local/lib/php.ini:

    extension="eaccelerator.so"
    eaccelerator.shm_size="16"
Syndicate content