Hi I am using php 5.2.3 with zend and zend opt is there a way I could install eaccelerator and how? I have tried els but it only breaks my apache config.
Thanks in advanced.
Hi I am using php 5.2.3 with zend and zend opt is there a way I could install eaccelerator and how? I have tried els but it only breaks my apache config.
Thanks in advanced.
hi,
Download from http://eaccelerator.net/ and install.
add this settings php.ini. restart apache
extension="eaccelerator.so"
eaccelerator.shm_size="32"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="128K"
eaccelerator.shm_ttl="300"
eaccelerator.shm_prune_period="150"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
after install test command
php -v
PHP 4.4.6 (cli) (built: May 3 2007 19:59:39)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with eAccelerator v0.9.4, Copyright (c) 2004-2004 eAccelerator, by eAccelerator
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
if you have suexec on, it will not work.
Not everything that is counted counts and not everything that counts can be counted
suexec or phpsuexec?
Thanks
Well done it installed it and nothing I do not get the eaccelerator extensions I followed the install instructions from:
http://eaccelerator.net/wiki/InstallFromSource
and get this result:
php -v
PHP 5.2.3 (cli) (built: Jun 14 2007 11:26:44)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technol
ogies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
Also I putted the eaccelerator on /usr/local/lib/php.ini below this:
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.8
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.8
zend_optimizer.version=3.2.8
extension="eaccelerator.so"
eaccelerator.shm_size="32"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="128K"
eaccelerator.shm_ttl="300"
eaccelerator.shm_prune_period="150"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
Disabled the suexec from whm and restarted httpd from whm.
And nothing any ideas?
Thanks in advanced
phpsuexec sorry. that should be disabled. recompile apache, and eaccel will work.
PHP 4.4.6 (cli) (built: Mar 12 2007 08:50:57)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with eAccelerator v0.9.5, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
with Suhosin v0.9.18, Copyright (c) 2002-2006, by Hardened-PHP Project
with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend Technologies
my actual config.
Not everything that is counted counts and not everything that counts can be counted
I'm getting this error when I type the: php -v
Failed loading /usr/lib/php4/eaccelerator.so: /usr/lib/php4/eaccelerator.so: cannot open shared object file: No such file or directory
Then all the normal stuff:
PHP 4.4.7 (cli) (built: .......
I'm a little new to this type of thing, so I probably missed something in the install don't know
Thanks