Join the community today
Register Now

Beta Branch update redis PHP extension routine for PHP 8.4 alpha in 140.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jul 9, 2024.

  1. eva2000

    eva2000 Administrator Staff Member

    53,246
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    8:51 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  2. eva2000

    eva2000 Administrator Staff Member

    53,246
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    8:51 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    first PHP 8.4.0alpha1 test where regular redis 6.0.2 PHP extension doesn't work and needs redis 6.0.3 developer version
    Code (Text):
    php -v
    PHP 8.4.0alpha1 (cli) (built: Jul  8 2024 04:29:13) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.4.0-dev, Copyright (c) Zend Technologies
        with Zend OPcache v8.4.0alpha1, 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           [ -Wl,-z,relro,-z,now -pie -L/usr/lib64/../lib64 -L/usr/local/lib64]
      --libs              [  -ltidy -lncurses -lldap -llber -lstdc++ -lgmp -lbz2 -lm  -lsystemd -lxml2 -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -lenchant -lgmodule-2.0 -lglib-2.0 -lffi -lssl -lcrypto -lz -lpng16 -lwebp -ljpeg -lXpm -lX11 -lfreetype -licuio -licui18n -licuuc -licudata -lonig -lsqlite3 -ledit -lxml2 -lnetsnmp -lm -lm -lssl -lssl -lcrypto -lxml2 -lsodium -largon2 -lxml2 -lxml2 -lxml2 -lxslt -lxml2 -lexslt -lxslt -lxml2 -lzip -lz -lssl -lcrypto ]
      --extension-dir     [/usr/local/lib/php/extensions/no-debug-non-zts-20230901]
      --include-dir       [/usr/local/include/php]
      --lib-dir           [/usr/local/lib]
      --lib-embed         [libphp.so]
      --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-pic --with-config-file-scan-dir=/etc/centminmod/php.d --with-fpm-systemd --with-ffi --with-xsl PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig: PNG_CFLAGS=-I/usr/include PNG_LIBS=-L/usr/lib64 -lpng16 ICU_CFLAGS=-fPIC ICU_LIBS=-L/usr/lib64 -licuio -licui18n -licuuc -licudata ONIG_CFLAGS=-I/usr/include ONIG_LIBS=-L/usr/lib64 -lonig LIBSODIUM_CFLAGS=-fPIC LIBSODIUM_LIBS=-L/usr/local/lib64 -lsodium ARGON2_CFLAGS=-I/usr/local/include ARGON2_LIBS=-L/usr/local/lib64 -largon2 LIBZIP_CFLAGS=-fPIC LIBZIP_LIBS=-L/usr/local/lib64 -lzip]
      --version           [8.4.0alpha1]
      --vernum            [80400]
    

    Code (Text):
    php --ri redis
    
    redis
    
    Redis Support => enabled
    Redis Version => 6.0.3-dev
    Redis Sentinel Version => 1.0
    Git revision => $Id: 981c69314dd2ce3d5c65573bec298480327c453e $
    Available serializers => php, json
    Available compression => zstd, lz4
    
    Directive => Local Value => Master Value
    redis.arrays.algorithm => no value => no value
    redis.arrays.auth => no value => no value
    redis.arrays.autorehash => 0 => 0
    redis.arrays.connecttimeout => 0 => 0
    redis.arrays.distributor => no value => no value
    redis.arrays.functions => no value => no value
    redis.arrays.hosts => no value => no value
    redis.arrays.index => 0 => 0
    redis.arrays.lazyconnect => 0 => 0
    redis.arrays.names => no value => no value
    redis.arrays.pconnect => 0 => 0
    redis.arrays.previous => no value => no value
    redis.arrays.readtimeout => 0 => 0
    redis.arrays.retryinterval => 0 => 0
    redis.arrays.consistent => 0 => 0
    redis.clusters.cache_slots => 0 => 0
    redis.clusters.auth => no value => no value
    redis.clusters.persistent => 0 => 0
    redis.clusters.read_timeout => 0 => 0
    redis.clusters.seeds => no value => no value
    redis.clusters.timeout => 0 => 0
    redis.pconnect.pooling_enabled => 1 => 1
    redis.pconnect.connection_limit => 0 => 0
    redis.pconnect.echo_check_liveness => 1 => 1
    redis.pconnect.pool_detect_dirty => 0 => 0
    redis.pconnect.pool_poll_timeout => 0 => 0
    redis.pconnect.pool_pattern => no value => no value
    redis.session.locking_enabled => 0 => 0
    redis.session.lock_expire => 0 => 0
    redis.session.lock_retries => 100 => 100
    redis.session.lock_wait_time => 20000 => 20000
    redis.session.early_refresh => 0 => 0
    redis.session.compression => none => none
    redis.session.compression_level => 3 => 3

    Code (Text):
    php -r 'print_r(get_defined_constants());' | egrep -i 'argon|aegis'
        [PASSWORD_ARGON2I] => argon2i
        [PASSWORD_ARGON2ID] => argon2id
        [PASSWORD_ARGON2_PROVIDER] => standard
        [PASSWORD_ARGON2_DEFAULT_MEMORY_COST] => 65536
        [PASSWORD_ARGON2_DEFAULT_TIME_COST] => 4
        [PASSWORD_ARGON2_DEFAULT_THREADS] => 1
        [SODIUM_CRYPTO_AEAD_AEGIS128L_KEYBYTES] => 16
        [SODIUM_CRYPTO_AEAD_AEGIS128L_NSECBYTES] => 0
        [SODIUM_CRYPTO_AEAD_AEGIS128L_NPUBBYTES] => 16
        [SODIUM_CRYPTO_AEAD_AEGIS128L_ABYTES] => 32
        [SODIUM_CRYPTO_AEAD_AEGIS256_KEYBYTES] => 32
        [SODIUM_CRYPTO_AEAD_AEGIS256_NSECBYTES] => 0
        [SODIUM_CRYPTO_AEAD_AEGIS256_NPUBBYTES] => 32
        [SODIUM_CRYPTO_AEAD_AEGIS256_ABYTES] => 32
        [SODIUM_CRYPTO_PWHASH_ALG_ARGON2I13] => 1
        [SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13] => 2
        [SODIUM_CRYPTO_PWHASH_STRPREFIX] => $argon2id$