Learn about Centmin Mod LEMP Stack today
Become a Member

PHP PHP 7.2.0 Released

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

  1. eva2000

    eva2000 Administrator Staff Member

    30,960
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,419
    Local Time:
    7:06 PM
    Nginx 1.13.x
    MariaDB 5.5
    Continue reading...
     
    • Like Like x 2
  2. Jimmy

    Jimmy Premium Member Premium Member

    1,165
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    4:06 AM
    1.13.x
    MariaDB 10.1.x
    Nice. Is 7.2.0 going to become the default soon?
     
  3. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:06 PM
    1.11
    10.2
  4. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:06 PM
    1.11
    10.2
  5. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:06 PM
    1.11
    10.2
    It failed for me.
     
  6. Liam W

    Liam W Member

    58
    16
    8
    Jun 26, 2014
    Barrow-in-Furness, Cumbria, England
    Ratings:
    +20
    Local Time:
    9:06 AM
    nginx/1.9.11
    10.1.11
    Yeah, same here. Failed build.
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,960
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,419
    Local Time:
    7:06 PM
    Nginx 1.13.x
    MariaDB 5.5
    123.09beta01 and 123.08stable need updates. Will be a bit delayed as I am busy.
     
    • Informative Informative x 1
  8. eva2000

    eva2000 Administrator Staff Member

    30,960
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,419
    Local Time:
    7:06 PM
    Nginx 1.13.x
    MariaDB 5.5
  9. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:06 PM
    1.11
    10.2
    But mcrypt was lost?
    Some of my addons depends on it and stop working :unsure:.
     
  10. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:06 PM
    1.11
    10.2
    • Agree Agree x 1
  11. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:06 PM
    1.11
    10.2
  12. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:06 PM
    1.11
    10.2
    • Agree Agree x 1
  13. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:06 PM
    1.11
    10.2
    Code:
    cd /svr-setup
    rm -rf mcrypt-*
    wget https://pecl.php.net/get/mcrypt-1.0.1.tgz
    tar xvzf mcrypt-1.0.1.tgz
    cd mcrypt-1.0.1/
    phpize
    ./configure --with-mcrypt --with-php-config=/usr/local/bin/php-config
    make
    make install
    
    CONFIGSCANDIR='/etc/centminmod/php.d'
    touch ${CONFIGSCANDIR}/mcrypt.ini
    echo "extension=mcrypt.so" > ${CONFIGSCANDIR}/mcrypt.ini
    service php-fpm restart
    php --ri mcrypt
    
     
    • Agree Agree x 1
  14. Jimmy

    Jimmy Premium Member Premium Member

    1,165
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    4:06 AM
    1.13.x
    MariaDB 10.1.x
    Upgraded, everything working great. Only did my testing server at this point.

    Code:
    Total PHP Upgrade Time: 506.873737573 seconds
     
    • Like Like x 1
  15. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:06 PM
    1.11
    10.2
    I updated 5 servers, running XF and WP all works fine :).
     
    • Like Like x 1
  16. Jimmy

    Jimmy Premium Member Premium Member

    1,165
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    4:06 AM
    1.13.x
    MariaDB 10.1.x
    IPS is also working well with 7.2.0. IPS developers said there shouldn't be any problems with 7.2.0 and the removal of the mcrypt extension.
     
    • Like Like x 1
  17. eva2000

    eva2000 Administrator Staff Member

    30,960
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,419
    Local Time:
    7:06 PM
    Nginx 1.13.x
    MariaDB 5.5
    yup that's the way to do it for PECL extensions

    Will have to add to 123.09beta01 mcrypt PECL if php 7.2.x is detected.
     
    • Like Like x 1
  18. eva2000

    eva2000 Administrator Staff Member

    30,960
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,419
    Local Time:
    7:06 PM
    Nginx 1.13.x
    MariaDB 5.5
    that version seems old mcrypt 1.0.1

    this is php 7.1.12 installed with mcrypt 2.5.8
    Code (Text):
    php --ri mcrypt
    
    mcrypt
    
    mcrypt support => enabled
    mcrypt_filter support => enabled
    Version => 2.5.8
    Api No => 20021217
    Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
    Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream
    
    Directive => Local Value => Master Value
    mcrypt.algorithms_dir => no value => no value
    mcrypt.modes_dir => no value => no value
    


    but will check
     
  19. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:06 PM
    1.11
    10.2
    Maybe just wrong version naming on PECL, once installed I still got that version.
    upload_2017-12-1_7-56-31.png
     
    • Informative Informative x 1
  20. eva2000

    eva2000 Administrator Staff Member

    30,960
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,419
    Local Time:
    7:06 PM
    Nginx 1.13.x
    MariaDB 5.5
    yeah looks like it reports the libmcrypt yum package's version = 2.5.8