EAccelerator

(centos Dedicated) Recently i tried to install eaccelerator for my boonex website, I follow the instruction from http://www.php.ph/2007/12/21/centos-5-eaccelerator-installation/

I used this one http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2 instead of  http://bart.eaccelerator.net/source/0.9.5.2/eaccelerator-0.9.5.2.tar.bz2 for php5.2.17 but in my phpinfo i cant find anywhere saying that eaccelerator is enabled.

Can anyone help me please?

 

Quote · 26 Jan 2011

We use eAccelorator too and it isn't reflected in the 7.0.4 diagnostic page - strange. Anyone know why?

Quote · 26 Jan 2011

i managed to fix it but

Usage statistics
Caching enabled yes
Optimizer enabled yes
Check mtime enabled yes
Total memory 32.00 mb
Memory in use 32.00 mb (100%)
Free memory 232 bytes
Cached scripts 183
Removed scripts 234

How do i change total memory ? i tried every possible tutorial in google but nothing.

 

Edited fix*

I followed this instruction to install eaccelerator. http://www.php.ph/2007/12/21/centos-5-eaccelerator-installation/

Second step. I copied control.php to my website root folder.

in php.ini paste this in the end.

 

zend_extension="/usr/lib64/php/modules/eaccelerator.so"
eaccelerator.allowed_admin_path = path/to/control.php
eaccelerator.shm_size="64"
eaccelerator.cache_dir="/var/cache/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"

 

thats it :)

oh, /etc/init.d/httpd restart

Then run http://mysite.com/control.php and see what it says.

Quote · 31 Jan 2011

second edit **********

 

to change the value Total memory just edit

 

/etc/php.d/eaccelerator.ini

 

ion="eaccelerator.so"
eaccelerator.shm_size="value in MB"
eaccelerator.cache_dir="/var/cache/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"

Quote · 31 Jan 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.