easyapache method to utilize older version of eaccelerator without it being replaced

DomineauX

Well-Known Member
PartnerNOC
Apr 12, 2003
429
11
168
Houston, TX
cPanel Access Level
Root Administrator
If you install an older version of eaccelerator by following steps like:

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
This would get replaced automatically by easyapache runs in the future.

Is there a hook or method to ensure that the older version is not removed/replaced by easyapache?

ps. This is to allow eaccelerator to actually work as since 0.9.6.x it will not actually cache most software contents like Magento/Drupal/WordPress which makes it fairly useless.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
38
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Re: easyapache method to utilize older version of eaccelerator without it being repla

You could create a /scripts/posteasyapache that includes those commands to be run at the end of EasyApache. You would probably want to simply uncheck EAccelerator in the EasyApache build and see if that works.

Could you also please provide the exact version you are grabbing (basically, the exact commands being used)?
 

DomineauX

Well-Known Member
PartnerNOC
Apr 12, 2003
429
11
168
Houston, TX
cPanel Access Level
Root Administrator
Re: easyapache method to utilize older version of eaccelerator without it being repla

Will give it a try thanks.
The exact version I used is eaccelerator-0.9.5.2.zip as the most recent pre-0.9.6.x version.
Frankly I don't see what 0.9.6.x provides now since most common applications don't appear supported by it and even a simple phpinfo page doesn't show up as being cached with it.