nginx-php Different version issues

Source: Internet
Author: User
Tags derick

PHP version iterm viewed under Mac:

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

But when I go into the info.php of localhost, I get php-5.5.14,

Is my nginx configuration wrong? Ask for advice, just into nginx

Reply content:

PHP version iterm viewed under Mac:

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

But when I go into the info.php of localhost, I get php-5.5.14,

Is my nginx configuration wrong? Ask for advice, just into nginx

which phpThe PHP and Nginx points of the php-fpm are 5.5 and 5.6 two versions

By the way Nth recommended http://phpbrew.github.io/phpbrew/

PHP-FPM didn't start?

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.