Learn about Centmin Mod LEMP Stack today
Become a Member

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:
    9:23 AM
    latest
    10
  2. eva2000

    eva2000 Administrator Staff Member

    35,076
    7,742
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,941
    Local Time:
    11:23 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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:
    9:23 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

    35,076
    7,742
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,941
    Local Time:
    11:23 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  5. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    9:23 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:
    9:23 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:
    11:23 PM
    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

    35,076
    7,742
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,941
    Local Time:
    11:23 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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 Well-Known Member

    992
    270
    63
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +445
    Local Time:
    3:23 PM
    Nginx 1.15.0
    MariaDB 10.2.15
    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:
    9:23 AM
    latest
    10
    Redis is now yes. Not sure about imagick
     
    • Useful Useful x 1
  11. Jimmy

    Jimmy Premium Member Premium Member

    1,306
    271
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +669
    Local Time:
    9:23 AM
    1.13.x
    MariaDB 10.1.x
    Last edited: Dec 4, 2015
    • Like Like x 1
  12. eva2000

    eva2000 Administrator Staff Member

    35,076
    7,742
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,941
    Local Time:
    11:23 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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

    3,108
    294
    83
    May 31, 2014
    Ratings:
    +529
    Local Time:
    4:23 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

    35,076
    7,742
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,941
    Local Time:
    11:23 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    123.09beta01 already supports imagick see post above yours
     
    • Like Like x 1
  15. pamamolf

    pamamolf Well-Known Member

    3,108
    294
    83
    May 31, 2014
    Ratings:
    +529
    Local Time:
    4:23 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Great then i need only igbinary :)
     
  16. rdan

    rdan Premium Member Premium Member

    4,227
    1,028
    113
    May 25, 2014
    Ratings:
    +1,469
    Local Time:
    9:23 PM
    Mainline
    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

    35,076
    7,742
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,941
    Local Time:
    11:23 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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. rdan

    rdan Premium Member Premium Member

    4,227
    1,028
    113
    May 25, 2014
    Ratings:
    +1,469
    Local Time:
    9:23 PM
    Mainline
    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

    35,076
    7,742
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,941
    Local Time:
    11:23 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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. rdan

    rdan Premium Member Premium Member

    4,227
    1,028
    113
    May 25, 2014
    Ratings:
    +1,469
    Local Time:
    9:23 PM
    Mainline
    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
..