Learn about Centmin Mod LEMP Stack today
Register Now

PHP Php 7.0 Final

Discussion in 'Nginx and PHP-FPM news & discussions' started by pamamolf, Dec 4, 2015.

  1. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:56 AM
    latest
    10
  2. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:56 AM
    Nginx 1.13.x
    MariaDB 5.5
    try removing /etc/centminmod/php.d/redis.ini first and restart php-fpm service then upgrade to 7.0.0
    Code:
    rm -rf /etc/centminmod/php.d/redis.ini
    fpmrestart
     
  3. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:56 AM
    latest
    10
    Your a genius! Works great now! Which plugin would you recommend using with redis? Nginx Helper or Redis Object Cache? Or both?

    Do I need to go into domain.conf file and uncomment all of the
     
  4. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:56 AM
    Nginx 1.13.x
    MariaDB 5.5
  5. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:56 AM
    latest
    10
    Upon enabling the Redis Object Cache from within the plugin settings, it turns the WP site white Admin and front page. I have uncommented out the include redis files from domain.conf file.
     
  6. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:56 AM
    latest
    10
    Works fine now that I did:

     
    • Like Like x 1
  7. Codexer

    Codexer New Member

    7
    0
    1
    Dec 8, 2014
    Ratings:
    +0
    Local Time:
    1:56 AM
    1.7
    5.5
    Hmm, I am typing "7.0.0" and I am getting:

    Code:
    # php -v
    PHP 7.1.0-dev (cli) (built: Dec  4 2015 07:29:02) ( NTS )
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.1.0-dev, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    
    Using latest beta branch (have updated, also).

    Trimmed pastebin: Do you want to run YUM install checks ? [y/n] This will increase your upgr - Pastebin.com
     
  8. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:56 AM
    Nginx 1.13.x
    MariaDB 5.5
    delete /svr-setp/php-7.0.0 files and then recompile centmin.sh menu option 5
    Code:
    rm -rf /svr-setup/php-7.0.0*
    you ran into same issue @Matt did at PHP - Php 7.0 Final | Page 2 | Centmin Mod Community
     
  9. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    5:56 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    so, is redis and imagick compatible with php 7?
     
  10. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:56 AM
    latest
    10
    Redis is now yes. Not sure about imagick
     
    • Useful Useful x 1
  11. Jimmy

    Jimmy Premium Member Premium Member

    1,081
    243
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +580
    Local Time:
    11:56 AM
    1.13.x
    MariaDB 10.1.x
    Last edited: Dec 4, 2015
    • Like Like x 1
  12. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:56 AM
    Nginx 1.13.x
    MariaDB 5.5
    Both are if you use 123.09beta01 right now see here. For 123.08stable only imagick supported in php 7, i have yet to commit redis php 7 branch to the stable branch. 123.09beta01 is for testing first.
     
    • Informative Informative x 1
    • Optimistic Optimistic x 1
  13. pamamolf

    pamamolf Well-Known Member

    2,675
    240
    63
    May 31, 2014
    Ratings:
    +425
    Local Time:
    6:56 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Waiting for igbinary and imagick support for 123.09 beta01 :)
     
  14. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:56 AM
    Nginx 1.13.x
    MariaDB 5.5
    123.09beta01 already supports imagick see post above yours
     
    • Like Like x 1
  15. pamamolf

    pamamolf Well-Known Member

    2,675
    240
    63
    May 31, 2014
    Ratings:
    +425
    Local Time:
    6:56 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Great then i need only igbinary :)
     
  16. RoldanLT

    RoldanLT Well-Known Member

    3,883
    947
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,291
    Local Time:
    11:56 PM
    1.11
    10.2
    I am now running PHP 7.0.0 on my Live XenForo Forum :).
    Well I really observe the speed improvement. (y)
     
    • Like Like x 2
  17. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:56 AM
    Nginx 1.13.x
    MariaDB 5.5
    Nice, as you're a Premium member, make sure you installed the custom Google Analytics templates on offer Premium User Membership Explained | Centmin Mod Community in private Premium Members forums to track page load speeds etc. Long term would be interesting to see
     
  18. RoldanLT

    RoldanLT Well-Known Member

    3,883
    947
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,291
    Local Time:
    11:56 PM
    1.11
    10.2
    I will when I have some more free time :).
    Thanks Eva!

    No doubt PHP7 is really faster :).
    Useless to measure the improvement :D.
     
  19. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:56 AM
    Nginx 1.13.x
    MariaDB 5.5
    Also check your server memory and cpu usage should be down some what

    Nginx Amplify + nodequery + nixstats monitoring will come in use for such :D
     
  20. RoldanLT

    RoldanLT Well-Known Member

    3,883
    947
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,291
    Local Time:
    11:56 PM
    1.11
    10.2
    I'm just using Nodequery and very satisfied with them :).
    I will try to compare a whole day server load tomorrow :).
     
    • Like Like x 1