Welcome to Centmin Mod Community
Become a Member

PHP-FPM PHP 7 RC2 and phpmyadmin

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Matt Williams, Oct 1, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:59 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    centos 7 needs min 1GB as per centmin mod download page outline centos 6 64bit can do 256-512MB or centos 6 32bit 128-256MB

    but you could be just running into 7.0.0RC4 specific bugs as it isn't production ready yet PHP :: Bugs :: Search


    this one looks interesting PHP :: Bug #70624 :: opcache.huge_code_pages
     
  2. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    10:59 PM
    latest
    10
    Finally got phpmyadmin to load the login screen. However - this is the errors I get at the bottom of the login

     
  3. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:59 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  4. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    10:59 PM
    latest
    10
    I compiled with menu #5 php7 RC3 - cleared all cookies and cache - still the same so I'm guessing it's just a bug somewhere...

    Tested with Firefox, Chrome and Opera
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:59 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    did you by any chance offload php sessions to redis or memcached ? if you did, restart redis or memcached server too to clear php sessions
     
  6. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    10:59 PM
    latest
    10
    Redis wasn't installed. I restarted memcached and still the same
     
  7. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:59 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    what's the output of these 2 command ?
    Code:
    php -i | grep 'session.serialize_handler'
    php --ini
    and what output you get when you run
    Code:
    nprestart
     
  8. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    10:59 PM
    latest
    10
    php -i | grep 'session.serialize_handler'
    php --ini

    nprestart

     
  9. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:59 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    php errors you posted means you have not unloaded the incompatible php extensions via the commands posted at PHP-FPM - PHP 7 RC2 and phpmyadmin | Page 2 | Centmin Mod Community :) php is still trying to load those incompatible php extensions like igbinary, ioncube and redis etc

    Code:
    rm -rf /etc/centminmod/php.d/igbinary.ini
    rm -rf /etc/centminmod/php.d/memcache.ini
    rm -rf /etc/centminmod/php.d/redis.ini
    rm -rf /etc/centminmod/php.d/ioncube.ini
     
  10. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    10:59 PM
    latest
    10
    :sleep::sneaky:(y) I had done that before right after the RC3 upgrade and it didn't work. However, this time, it did work lol! Now I can access phpmyadmin without issue :banghead:
     
  11. Peace-Keeper

    Peace-Keeper Member

    46
    8
    8
    Jul 9, 2014
    Ratings:
    +11
    Local Time:
    10:59 PM
    Mainline
    10.1
    You may wish to add this a well in RC6

    PHP:
    rm -rf /etc/centminmod/php.d/mongodb.ini
     
  12. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:59 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    it's already added in the code just not the post
     
  13. Peace-Keeper

    Peace-Keeper Member

    46
    8
    8
    Jul 9, 2014
    Ratings:
    +11
    Local Time:
    10:59 PM
    Mainline
    10.1
    If so, why did I have to do it myself?!
     
  14. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:59 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    when i mean code i mean message to do it yourself heh
     
  15. Peace-Keeper

    Peace-Keeper Member

    46
    8
    8
    Jul 9, 2014
    Ratings:
    +11
    Local Time:
    10:59 PM
    Mainline
    10.1
    Ah. I misunderstood. Sorry.

    I was thinking "code" as in it would do it during the install.
     
  16. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:59 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    yeah good to train folks to recognise incompatible php extensions and how to remove them from loading :D
     
  17. Peace-Keeper

    Peace-Keeper Member

    46
    8
    8
    Jul 9, 2014
    Ratings:
    +11
    Local Time:
    10:59 PM
    Mainline
    10.1
    I learned how to do that in Debian, but I was hoping for another method. Redis is something I'll need in the future.
     
  18. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    10:59 PM
    latest
    10
    My issue is when I install anything other RC either RC4, RC5, RC6, it doesn't add the PID file. I've only been able to use RC3 thus far.
     
  19. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:59 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    strangest issue indeed.. maybe you need to wipe the centmin mod installed directory and treat it like a pre .07 stable upgrade Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS

    Code:
    cd /usr/local/src
    rm -rf centminmod
    git clone https://github.com/centminmod/centminmod.git centminmod
    cd centminmod
    
    then either
    Code:
    git checkout -f 123.08stable
    or
    Code:
    git checkout -f 123.09beta01
    and then try, make sure version is entered as 7.0.0RC6 on centmin.sh menu option 5
     
  20. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    10:59 PM
    latest
    10
    ?