Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch detect php 7.1 for redis php extension in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 3, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    8:20 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  2. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    6:20 PM
    Mainline
    10.2
    Thanks a lot Eva, is this a new error?
    Code (Text):
    --------------------------------------------------------
             Redis PHP Extension Sub-Menu             
    --------------------------------------------------------
    1). Install Redis PHP Extension
    2). Reinstall Redis PHP Extension
    3). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 3 ] 2
    --------------------------------------------------------
    *************************************************
    * Installing redis PHP extension
    *************************************************
    Downloading redis PHP extension...
    Checking for igbinary.so ...
    Check if /usr/local/lib/php/extensions/no-debug-non-zts-20160303/igbinary.so or /etc/centminmod/php.d/igbinary.ini exists
    Check for different igbinary versions ...
    1
    Compiling igbinary...
    igbinary-igbinary-1.1.2-dev.tar.gz Archive found, skipping download...
    
    Check if phpredis-2.2.8.tgz exists
    Compiling PHP redis-2.2.8 extension for PHP 7.x ...
    /svr-setup/igbinary-igbinary-3c363d6
    cd /svr-setup
    /svr-setup
    cd /svr-setup
    inc/redis.inc: line 106: cd: /svr-setup/phpredis-3.0.0: No such file or directory
    make: *** No rule to make target `clean'.  Stop.
    Cannot find config.m4.
    Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module
    
    inc/redis.inc: line 115: ./configure: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    
    --------------------------------------------------------
    
     
    Last edited by a moderator: Sep 3, 2016
  3. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    6:20 PM
    Mainline
    10.2
    What I did to temporarily fix it:
    #cd /svr-setup/
    #wget https://pecl.php.net/get/redis-3.0.0.tgz
    #ls /svr-setup/
    #tar -xvzf redis-3.0.0.tgz
    #mv redis-3.0.0 phpredis-3.0.0
    #mv redis-3.0.0.tgz phpredis-3.0.0.tgz
    #centmin
    #fpmrestart
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    8:20 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah you can workaround it via manual download

    but just updated 123.09beta01 with fix as forgot to apply 7.1 detection to download routine for tarball itself

    would have to remove /svr-setup/phpredis-3.0.0* to check the fixed routine

    edited above log output to use CODEB tags - How to use forum BBCODE code tags :)