Custom configure options for eAccelerator using EasyApache

Get Free

Member
Apr 26, 2007
5
0
151
I need to add custom configure option for eAccelertor, as the same way you can add custom options for PHP in the file all_php5.

How can I do this?
There must be a file where eAccelerator's configure options can be edited.
 

Kevinfrom

Well-Known Member
Jan 18, 2008
47
1
56
You can manually install EAccelerator yourself.

If its installed thru easyapache then just run the following command to uninstall it.

/scripts/phpextensionmgr uninstall EAccelerator

Then download the latest version from eaccelerator.net and install it according to your needs.

download tar.gz file
tar xvzf eaccelerator-version.tar.gz
cd eaccelerator
export PHP_PREFIX="/usr"
/usr/local/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/local/bin/php-config
make
make install