Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch Revert "update Redis PHP extension to 3.0.0-rc1 for 123.09beta01"

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jun 8, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,782
    Local Time:
    1:34 PM
    Nginx 1.13.x
    MariaDB 5.5
  2. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,782
    Local Time:
    1:34 PM
    Nginx 1.13.x
    MariaDB 5.5
    redis PHP extension 3.0.0rc1 only works with PHP 7 and not PHP 5.6 and lower. So revert that so that PHP 5.6 use redis PHP 2.2.7 instead

    on PHP 5.6.22 + redis PHP 3.0.0rc1 extension errors
    Code (Text):
    /svr-setup/phpredis-3.0.0-rc1/redis.c:3694: warning: passing argument 3 of ‘_zend_get_parameters_array’ from incompatible pointer type
    /usr/local/include/php/Zend/zend_API.h:240: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
    /svr-setup/phpredis-3.0.0-rc1/redis.c: In function ‘generic_scan_cmd’:
    /svr-setup/phpredis-3.0.0-rc1/redis.c:3794: error: ‘zend_long’ undeclared (first use in this function)
    /svr-setup/phpredis-3.0.0-rc1/redis.c:3794: error: expected ‘;’ before ‘count’
    /svr-setup/phpredis-3.0.0-rc1/redis.c:3803: error: ‘count’ undeclared (first use in this function)
    make: *** [redis.lo] Error 1
     
    Last edited: Jun 8, 2016