Welcome to Centmin Mod Community
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

    36,880
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,434
    Local Time:
    6:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Continue reading...
     
    • Like Like x 2
  2. Jimmy

    Jimmy Premium Member Premium Member

    1,415
    292
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +723
    Local Time:
    3:39 PM
    1.13.x
    MariaDB 10.1.x
    Nice. Is 7.2.0 going to become the default soon?
     
  3. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    4:39 AM
    Mainline
    10.2
  4. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    4:39 AM
    Mainline
    10.2
  5. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    4:39 AM
    Mainline
    10.2
    It failed for me.
     
  6. Liam W

    Liam W Member

    59
    16
    8
    Jun 26, 2014
    Barrow-in-Furness, Cumbria, England
    Ratings:
    +21
    Local Time:
    8:39 PM
    nginx/1.9.11
    10.1.11
    Yeah, same here. Failed build.
     
  7. eva2000

    eva2000 Administrator Staff Member

    36,880
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,434
    Local Time:
    6:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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

    36,880
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,434
    Local Time:
    6:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  9. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    4:39 AM
    Mainline
    10.2
    But mcrypt was lost?
    Some of my addons depends on it and stop working :unsure:.
     
  10. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    4:39 AM
    Mainline
    10.2
    • Agree Agree x 1
  11. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    4:39 AM
    Mainline
    10.2
  12. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    4:39 AM
    Mainline
    10.2
    • Agree Agree x 1
  13. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    4:39 AM
    Mainline
    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,415
    292
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +723
    Local Time:
    3:39 PM
    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. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    4:39 AM
    Mainline
    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,415
    292
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +723
    Local Time:
    3:39 PM
    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

    36,880
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,434
    Local Time:
    6:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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

    36,880
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,434
    Local Time:
    6:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    4:39 AM
    Mainline
    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

    36,880
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,434
    Local Time:
    6:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yeah looks like it reports the libmcrypt yum package's version = 2.5.8
     
..