EAccelerator is an open source software which is used to increase the loading speed of PHP pages and it will only supports upto PHP version 5.4.
Please note that – It does not support for 5.5 and 5.6
As you know that easyapache 3 is no more available on cPanel server and as of the same we can not choose eAccelerator to install from easyapache 4. Therefore, we have to install eAccelerator from its source code.
- Please do follow the below pasted steps to install eAccelerator from its source file:
# wget https://github.com/eaccelerator/eaccelerator/archive/master.zip
# unzip master.zip
# cd eaccelerator-master/
# ./configure –with-php-config=/opt/cpanel/ea-php54/root/usr/bin/php-config
# make install
# vi cd /opt/cpanel/ea-php54/etc/php.ini
Add the below line bottom of php.ini:
# service httpd restart
# php -v
ea-php-cli Copyright 2016 cPanel, Inc.
PHP 5.4.45 (cli) (built: Jan 25 2017 04:18:57)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with eAccelerator v1.0-dev, Copyright (c) 2004-2012 eAccelerator, by eAccelerator
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.1.1, Copyright (c) 2002-2016, by ionCube Ltd.