关于php-fpm
我安装的是php 5.6.9(lnmp1.2)php -v出来显示的是 5.3.3如下Failed loading /usr/local/zend/ZendGuardLoader.so:/usr/local/zend/ZendGuardLoader.so: undefined symbol: zend_new_interned_string
Failed loading opcache.so:opcache.so: cannot open shared object file: No such file or directory
PHP 5.3.3 (cli) (built: Feb9 2016 10:36:17)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
但是通过/usr/local/php/sbin/php-fpm -v 查看 又正常是5.6.9
PHP 5.6.9 (fpm-fcgi) (built: Apr 14 2016 21:15:37)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
这个问题 使用全路径执行,可能有其他途径安装的php或有其他问题
页:
[1]