Welcome to Centmin Mod Community
Become a Member

PHP PHP 7.1.1 Released

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Jan 19, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    10:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    10:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    looks good via centmin.sh menu option 5 update to PHP 7.1.1
    Code (Text):
    PHP 7.1.1 (cli) (built: Jan 19 2017 22:18:21) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.1.1, Copyright (c) 1999-2017, by Zend Technologies
     
  3. SFLC

    SFLC Active Member

    223
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    2:29 PM
    1
    10
    I just tried php 7.1.1 but after the upgraded went through successfully php-fpm wouldnt start back up again, i did enable PHP_PGO='y' (not sure if this had any effect on the issue).

    It gave an error about a commented line i have in php-fpm.conf,
    #php_admin_value[disable_functions] = shell_exec

    I should have copied the error and pasted it here, but in my panic, as i tried this on my production server i had to quickly go back to php 5.6 to see if I was going to be able to recover or if it was gonna be a long night. Downgrade went smoothly though.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    10:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    php-fpm.conf comments use semi-colon ; not hash # ;)
     
  5. SFLC

    SFLC Active Member

    223
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    2:29 PM
    1
    10
    ahhhhhh man, that's not cool at all, it still worked though as I was able to use shell_exec, now I don't know if I should reattempt the upgrade or not :(
     
  6. SFLC

    SFLC Active Member

    223
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    2:29 PM
    1
    10
    come to think of it, it prob worked as the line became invalid, although its strange how phpfpm would restart with this line with no issues.
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    10:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    just need to keep using semi-colons for comments in php-fpm.conf
     
  8. SFLC

    SFLC Active Member

    223
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    2:29 PM
    1
    10
    upgrade went smoothly to php 7.1.1 after fixing the comment, thanks @eva2000 !!
     
  9. Revenge

    Revenge Active Member

    469
    93
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +354
    Local Time:
    12:29 PM
    1.9.x
    10.1.x
    New PHP version 7.1.2. Should be announced in the next few hours in php site.

    Code:
    php -v
    PHP 7.1.2 (cli) (built: Feb 15 2017 08:36:40) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.1.2, Copyright (c) 1999-2017, by Zend Technologies
        with Xdebug v2.5.0, Copyright (c) 2002-2016, by Derick Rethans
     
  10. buik

    buik “The best traveler is one without a camera.”

    2,027
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,675
    Local Time:
    1:29 PM
    Nice find.
    Source available at: Releases · php/php-src · GitHub
    Pretty big change-log: https://raw.githubusercontent.com/php/php-src/master/NEWS
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    10:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @bassie ain't that PHP 7.2 change log not 7.1.2 ?
     
  12. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    1:29 PM
    Nginx 1.17.9
    MariaDB 10.3.22
  13. buik

    buik “The best traveler is one without a camera.”

    2,027
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,675
    Local Time:
    1:29 PM
    Jup. Thats right, nice catch, file has been updated.