Discover Centmin Mod today
Register Now

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

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    2:57 PM
    Nginx 1.13.x
    MariaDB 5.5
     
    • Like Like x 2
  2. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    2:57 PM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 2
  3. SFLC

    SFLC Active Member

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    6:57 AM
    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

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    2:57 PM
    Nginx 1.13.x
    MariaDB 5.5
    php-fpm.conf comments use semi-colon ; not hash # ;)
     
    • Informative Informative x 1
  5. SFLC

    SFLC Active Member

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    6:57 AM
    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

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    6:57 AM
    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

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    2:57 PM
    Nginx 1.13.x
    MariaDB 5.5
    just need to keep using semi-colons for comments in php-fpm.conf
     
    • Agree Agree x 1
  8. SFLC

    SFLC Active Member

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    6:57 AM
    1
    10
    upgrade went smoothly to php 7.1.1 after fixing the comment, thanks @eva2000 !!
     
    • Like Like x 1
  9. Revenge

    Revenge Active Member

    288
    64
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +227
    Local Time:
    5:57 AM
    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
     
    • Informative Informative x 3
  10. bassie

    bassie Active Member

    535
    116
    43
    Apr 29, 2016
    Ratings:
    +348
    Local Time:
    6:57 AM
    Nice find.
    Source available at: Releases · php/php-src · GitHub
    Pretty big change-log: https://raw.githubusercontent.com/php/php-src/master/NEWS
     
    • Like Like x 1
  11. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    2:57 PM
    Nginx 1.13.x
    MariaDB 5.5
    @bassie ain't that PHP 7.2 change log not 7.1.2 ?
     
    • Like Like x 1
    • Agree Agree x 1
  12. Sunka

    Sunka Active Member

    917
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +388
    Local Time:
    6:57 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    • Like Like x 1
  13. bassie

    bassie Active Member

    535
    116
    43
    Apr 29, 2016
    Ratings:
    +348
    Local Time:
    6:57 AM
    Jup. Thats right, nice catch, file has been updated.