在mac下iterm查看的php版本:
php -v php 5.6.5 (cli) (built: feb 2 2015 19:51:09) (debug) copyright (c) 1997-2014 the php group zend engine v2.6.0, copyright (c) 1998-2014 zend technologies with zend opcache v7.0.4-dev, copyright (c) 1999-2014, by zend technologies with xdebug v2.2.7, copyright (c) 2002-2015, by derick rethansphp-fpm -v php 5.6.5 (fpm-fcgi) (built: feb 2 2015 19:51:15) (debug) copyright (c) 1997-2014 the php group zend engine v2.6.0, copyright (c) 1998-2014 zend technologies with zend opcache v7.0.4- dev, copyright (c) 1999-2014, by zend technologies with xdebug v2.2.7, copyright (c) 2002-2015, by derick rethans
然而当我进入localhost的info.php中是得到php-5.5.14,如图:
是我的nginx配置有错么?求指教,刚入nginx
回复内容: 在mac下iterm查看的php版本:
php -v php 5.6.5 (cli) (built: feb 2 2015 19:51:09) (debug) copyright (c) 1997-2014 the php group zend engine v2.6.0, copyright (c) 1998-2014 zend technologies with zend opcache v7.0.4-dev, copyright (c) 1999-2014, by zend technologies with xdebug v2.2.7, copyright (c) 2002-2015, by derick rethansphp-fpm -v php 5.6.5 (fpm-fcgi) (built: feb 2 2015 19:51:15) (debug) copyright (c) 1997-2014 the php group zend engine v2.6.0, copyright (c) 1998-2014 zend technologies with zend opcache v7.0.4- dev, copyright (c) 1999-2014, by zend technologies with xdebug v2.2.7, copyright (c) 2002-2015, by derick rethans
然而当我进入localhost的info.php中是得到php-5.5.14,如图:
是我的nginx配置有错么?求指教,刚入nginx
which php 的php和nginx指向的php-fpm分属5.5和5.6两个版本
顺便第n次推荐 http://phpbrew.github.io/phpbrew/
php-fpm 沒启动?
