Chadi
11-28-2005, 02:39 AM
I am getting this error when restarting httpd
Failed loading /eaccelerator-0.9.4-rc1/modules/eaccelerator.so: /eaccelerator-0.9.4-rc1/modules/eaccelerator.so: cannot open shared object file: No such file or directory
The newly updated install steps (successful otherwise)
cd
mkdir /ea/
cd /ea
wget http://internap.dl.sourceforge.net/...9.4-rc1.tar.bz2
tar -jxf eaccelerator-0.9.4-rc1.tar.bz2
cd eaccelerator*
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config
make
make install
nano /usr/local/Zend/etc/php.ini
zend_extension="/ea/eaccelerator-0.9.4-rc1/modules/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="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
mkdir /tmp/eaccelerator
chmod 0777 /tmp/eaccelerator
service httpd restart
I confirmed through locate that eaccelerator.so is in fact located at /ea/eaccelerator-0.9.4-rc1/modules/eaccelerator.so so why is it giving me this strange error?
root@server [~/eaccelerator-0.9.4-rc1/modules]# locate eaccelerator.so
/usr/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so
/usr/lib/php/eaccelerator/eaccelerator.so
/root/eaccelerator-0.9.4-rc1/modules/eaccelerator.so
/root/eaccelerator-0.9.4-rc1/.libs/eaccelerator.so
I even tried changing the first line to /usr/lib/php/eaccelerator/eaccelerator.so but still gave the same error on httpd configtest
Failed loading /eaccelerator-0.9.4-rc1/modules/eaccelerator.so: /eaccelerator-0.9.4-rc1/modules/eaccelerator.so: cannot open shared object file: No such file or directory
The newly updated install steps (successful otherwise)
cd
mkdir /ea/
cd /ea
wget http://internap.dl.sourceforge.net/...9.4-rc1.tar.bz2
tar -jxf eaccelerator-0.9.4-rc1.tar.bz2
cd eaccelerator*
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config
make
make install
nano /usr/local/Zend/etc/php.ini
zend_extension="/ea/eaccelerator-0.9.4-rc1/modules/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="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
mkdir /tmp/eaccelerator
chmod 0777 /tmp/eaccelerator
service httpd restart
I confirmed through locate that eaccelerator.so is in fact located at /ea/eaccelerator-0.9.4-rc1/modules/eaccelerator.so so why is it giving me this strange error?
root@server [~/eaccelerator-0.9.4-rc1/modules]# locate eaccelerator.so
/usr/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so
/usr/lib/php/eaccelerator/eaccelerator.so
/root/eaccelerator-0.9.4-rc1/modules/eaccelerator.so
/root/eaccelerator-0.9.4-rc1/.libs/eaccelerator.so
I even tried changing the first line to /usr/lib/php/eaccelerator/eaccelerator.so but still gave the same error on httpd configtest