Get the most out of your Centmin Mod LEMP stack
Become a Member

PHP 8.2.0 GA Release

Discussion in 'Centmin Mod News' started by eva2000, Dec 9, 2022.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    49,737
    11,437
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,772
    Local Time:
    8:27 PM
    Nginx 1.21.x
    MariaDB 10.x
    PHP 8.2.0 GA stable release is out now. Only Centmin Mod latest 130.00beta01 has full PHP 8.2 support - so ensure you run cmupdate command on 130.00beta01 before running centmin.sh menu option 5.

    Centmin Mod 124.00stable's max PHP version fully supported is PHP 8.1. To use PHP 8.2, you'd need to switch from 124.00stable to 130.00beta01 via cmupdate update-beta command.

    example 130.00beta01 cmupdate output
    Code (Text):
    cmupdate
    No local changes to save
    remote: Enumerating objects: 68, done.
    remote: Counting objects: 100% (65/65), done.
    remote: Compressing objects: 100% (5/5), done.
    remote: Total 36 (delta 29), reused 36 (delta 29), pack-reused 0
    Unpacking objects: 100% (36/36), done.
    From https://github.com/centminmod/centminmod
       fe084fb..771da42  130.00beta01 -> origin/130.00beta01
    Updating fe084fb..771da42
    Fast-forward
     centmin-cli.sh            |    7 +-
     centmin.sh                |    7 +-
     example/custom_config.inc |    7 +-
     inc/cpcheck.inc           |   15 +-
     inc/imagick_install.inc   |  107 ++++++++--
     inc/lowmem.inc            |    2 +-
     inc/nginx_configure.inc   |   12 +-
     inc/php_upgrade.inc       |   11 +-
     inc/phpng_download.inc    |    8 +-
     installer80-gitlab.sh     |    2 +-
     installer80.sh            |    2 +-
     installer81-gitlab.sh     |    2 +-
     installer81.sh            |    2 +-
     installer82-gitlab.sh     | 1987 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     installer82.sh            | 1981 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     15 files changed, 4106 insertions(+), 46 deletions(-)
     create mode 100755 installer82-gitlab.sh
     create mode 100755 installer82.sh
    No local changes to save
    Already up-to-date.
    

    example centmin.sh menu option 5 updated PHP 8.2.0
    Code (Text):
    php -v
    PHP 8.2.0 (cli) (built: Dec  8 2022 15:52:10) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.2.0, Copyright (c) Zend Technologies
        with Zend OPcache v8.2.0, Copyright (c), by Zend Technologies
    

    Code (Text):
    php-config
    Usage: /usr/local/bin/php-config [OPTION]
    Options:
      --prefix            [/usr/local]
      --includes          [-I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib]
      --ldflags           [ -L/usr/local/lib64]
      --libs              [-lcrypt  -lc-client  -ltidy -lresolv -lncurses -laspell -lpspell -lrt -lldap -llber -lstdc++ -lcrypt -lpam -lgmp -lbz2 -lutil -lrt -lm -ldl  -lsystemd -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -lenchant -lgmodule-2.0 -lglib-2.0 -lffi -lssl -lcrypto -lz -lpng15 -lwebp -ljpeg -lXpm -lX11 -lfreetype -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -licuio -licui18n -licuuc -licudata -lonig -lsqlite3 -ledit -ltinfo -lxml2 -lnetsnmp -lssl -lssl -lcrypto -lm -lxml2 -lsodium -largon2 -lxml2 -lxml2 -lxml2 -lzip -lz -lssl -lcrypto -lcrypt ]
      --extension-dir     [/usr/local/lib/php/extensions/no-debug-non-zts-20220829]
      --include-dir       [/usr/local/include/php]
      --man-dir           [/usr/local/php/man]
      --php-binary        [/usr/local/bin/php]
      --php-sapis         [ cli embed fpm phpdbg cgi]
      --ini-path          [/usr/local/lib]
      --ini-dir           [/etc/centminmod/php.d]
      --configure-options [--enable-fpm --enable-opcache --enable-intl --enable-pcntl --with-mcrypt --with-snmp --enable-embed=shared --with-mhash --with-zlib --with-gettext --enable-exif --with-zip --with-libzip --with-bz2 --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-mysql-sock=/var/lib/mysql/mysql.sock --with-curl --enable-gd --with-xmlrpc --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --with-freetype --with-jpeg --with-png-dir=/usr --with-xpm --with-webp --with-t1lib=/usr --enable-shmop --with-pear --enable-mbstring --with-openssl --with-mysql=mysqlnd --with-libdir=lib64 --with-mysqli=mysqlnd --enable-pdo --with-pdo-sqlite --with-pdo-mysql=mysqlnd --enable-inline-optimization --with-imap --with-imap-ssl --with-kerberos --with-readline --with-libedit --with-gmp --with-pspell --with-tidy --with-enchant --with-fpm-user=nginx --with-fpm-group=nginx --with-ldap --with-ldap-sasl --with-password-argon2 --with-sodium=/usr/local --with-config-file-scan-dir=/etc/centminmod/php.d --with-fpm-systemd --with-ffi --with-webp-dir=/usr PKG_CONFIG_PATH=/opt/rh/devtoolset-11/root/usr/lib64/pkgconfig:/opt/rh/devtoolset-11/root/usr/lib64/pkgconfig ICU_CFLAGS=-I/usr/include ICU_LIBS=-L/usr/lib64 -licuio -licui18n -licuuc -licudata LIBSODIUM_CFLAGS=-I/usr/local/include LIBSODIUM_LIBS=-L/usr/local/lib64 -lsodium ARGON2_CFLAGS=-I/usr/local/include ARGON2_LIBS=-L/usr/local/lib64 -largon2 LIBZIP_CFLAGS=-I/usr/local/include LIBZIP_LIBS=-L/usr/local/lib64 -lzip]
      --version           [8.2.0]
      --vernum            [80200]
    


     
Thread Status:
Not open for further replies.