cfan365 发表于 2010-12-6 14:16:17

eaccelerator现在的版本是eaccelerator-0.9.6.1,咱们用的是.5的吧,怎么升级呢?

eaccelerator现在的版本是eaccelerator-0.9.6.1怎么升级呢?
需要先卸载老的.5版本的吗?
军哥能给个教程吗?

licess 发表于 2010-12-6 15:02:44

回复 1# 的帖子

wget -c http://soft.vpser.net/web/eaccelerator/eaccelerator-0.9.6.1.zip
unzip 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
配置文件不用修改,重启即可。

cfan365 发表于 2010-12-6 16:33:08

嗯 去测试:victory:

cfan365 发表于 2010-12-6 17:36:24

# make install
Installing shared extensions:   /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/
显示这样 是成功了吗?

cfan365 发表于 2010-12-6 17:46:06

出问题啦!

#/usr/local/php/sbin/php-fpm restart
Shutting 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
#

licess 发表于 2010-12-6 20:03:32

回复 5# 的帖子

https://bbs.vpser.net/thread-1143-1-1.html

yilin101 发表于 2012-2-26 11:16:19

回复 6# 的帖子

谢谢分享

[ 本帖最后由 yilin101 于 2012-2-26 04:17 编辑 ]
页: [1]
查看完整版本: eaccelerator现在的版本是eaccelerator-0.9.6.1,咱们用的是.5的吧,怎么升级呢?