eaccelerator installation failed

mmxp

New Member
Since eaccelerator 0.9.5 can work with Zend Optimizer. so I would like to install it on my VPS. I tried everything following the instructions at http://www.eaccelerator.net

since I have only one php installed, so I did

phpize
./configure
make
make install

eaccelerator.so path is: /usr/local/lib/php/extensions/no-debug-non-zts-20060613

so I added in php.ini above [zend]

extension="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/tmp/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"

and I restarted Apache

mkdir /tmp/eaccelerator
chmod 0777 /tmp/eaccelerator


php -v

but it turned out that eaccelerator was not working

Any suggestions?
 

stormrider

New Member
Hello,

Restart Apache and take a look at the error_log ( tail /etc/httpd/logs/error_log ). It might show you something.
 

gsv

Voice of Reason
You CANNOT load it that way. It will never work like that.

Instead:

Set extension_dir to php.ini to /usr/local/lib/php/extensions/no-debug-non-zts-20060613/

then load it as

extension=eaccelerator.so
 

mmxp

New Member
You CANNOT load it that way. It will never work like that.

Instead:

Set extension_dir to php.ini to /usr/local/lib/php/extensions/no-debug-non-zts-20060613/

then load it as

extension=eaccelerator.so
tried it, doesn't work yet :(
 
Top