eAccelerator Installed but not working

ks04

Member
Jan 20, 2012
8
0
51
cPanel Access Level
Reseller Owner
Hi There,

I recently recompiled my apache using EasyApache and chose to install eaccellerator, however php.info shows it is not enabled
eAccelerator

eAccelerator support enabled

Version 0.9.6.1

Caching Enabled false

Optimizer Enabled false

Check mtime Enabled false
I am using DSO.

php -v shows eaccelerator is installed:
PHP 5.3.23 (cli) (built: Mar 28 2013 23:49:29)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
Php.ini is setup as follows:

PHP:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626"
extension="eaccelerator.so"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.check_mtime="1"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.debug="0"
eaccelerator.enable="1"
eaccelerator.filter=""
eaccelerator.optimizer="1"
eaccelerator.shm_max="0"
eaccelerator.shm_only="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_size="16"
eaccelerator.shm_ttl="0"
extension="suhosin.so"
extension = "pdo.so"
extension = "pdo_sqlite.so"
extension = "sqlite.so"
extension = "pdo_mysql.so"
extension = "fileinfo.so"
extension = "mailparse.so"
extension = "ffmpeg.so"

zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.3.so"
I don't see why this not working... thoughts?
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
Check the directory where your phpinfo() script is located for a custom php.ini file. If one exists, it will override the system php.ini file if you are using suPHP as your PHP handler, which is the cPanel default.
 

ks04

Member
Jan 20, 2012
8
0
51
cPanel Access Level
Reseller Owner
Using DSO as the PHP Handler.

Even tried adding the following to .htaccess with no luck:

php_flag eaccelerator.enable 1
php_flag eaccelerator.optimizer 1
 
Last edited: