LNMP0.8 eAccelerator和ionCube安装不上的解决办法

转自点点 8 年前 回复

, , , ,

/root/lnmp restart时,报错如下:

Shutting down php_fpm  done
Starting php_fpm Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so:  /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so: cannot open shared object file: No such file or directory
Failed loading /usr/local/ioncube/ioncube_loader_lin_5.3.so:  /usr/local/ioncube/ioncube_loader_lin_5.3.so: undefined symbol: zend_resolve_path
done
修改:/usr/local/php/etc/php.ini
原来:zend_extension="/usr/local/ioncube/ioncube_loader_lin_5.3.so"
改成:zend_extension="/usr/local/ioncube/ioncube_loader_lin_5.2.so"
php 5.2.17 使用ioncube_loader_lin_5.2.so不是5.3
原来:zend_extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so"
改成:zend_extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"
eaccelerator路径是no-debug-non-zts-20060613 而不是no-debug-non-zts-20090626
转自http://www.cnblogs.com/iixiaowei/articles/2384524.html

支付宝打赏微信打赏

如果此文对你有帮助,欢迎打赏作者。

发表评论

欢迎回来 (打开)

(必填)

8403