eaccelerator现在的版本是eaccelerator-0.9.6.1,咱们用的是.5的吧,怎么升级呢?
eaccelerator现在的版本是eaccelerator-0.9.6.1怎么升级呢?需要先卸载老的.5版本的吗?
军哥能给个教程吗?
回复 1# 的帖子
wget -c http://soft.vpser.net/web/eaccelerator/eaccelerator-0.9.6.1.zipunzip eaccelerator-0.9.6.1.zip
cd eaccelerator-0.9.6.1/
/usr/local/php/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=/usr/local/php/bin/php-config --with-eaccelerator-shared-memory
make
make install
配置文件不用修改,重启即可。 嗯 去测试:victory: # make install
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/
显示这样 是成功了吗?
出问题啦!
#/usr/local/php/sbin/php-fpm restartShutting down php_fpm . done
Starting php_fpm Failed loading /usr/local/zend/ZendOptimizer.so:/usr/local/zend/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/scws.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/scws.so: cannot open shared object file: No such file or directory in Unknown on line 0
done
#
回复 5# 的帖子
https://bbs.vpser.net/thread-1143-1-1.html回复 6# 的帖子
谢谢分享[ 本帖最后由 yilin101 于 2012-2-26 04:17 编辑 ]
页:
[1]