Want to subscribe to topics you're interested in?
Become a Member

PHP-FPM APC vs Zend Opcache

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Mask, May 8, 2015.

  1. Mask

    Mask Active Member

    104
    29
    28
    Nov 10, 2014
    Ratings:
    +35
    Local Time:
    7:57 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    Hello,

    I am wondering if someone here moved their setup from APC (with php 5.4.x) to Zend Opcache (with php 5.5.x) if so, any reasonable advantage ?? Any performance difference ?? Any issues??

    I have been using CentMinMod .07 stable with php 5.4 and APC (I only host WP sites) and it's been working fine. Now I need to setup a new server and I went with CentMinMod .08 Beta (which for some reason still defaults to php 5.4 and APC). So I am wondering if it's time to take that leap or still keep using php 5.4.

    @eva2000 Any particular reason that the newest version is still going with php 5.4 and APC?

    Which OpCode Cache you prefer ?? (A question to everyone)
     
  2. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    10:57 PM
    1.11
    10.2
    I recommend use the latest versions.
    PHP 5.6.8 with ZendOpcache
     
  3. eva2000

    eva2000 Administrator Staff Member

    28,976
    6,578
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,764
    Local Time:
    12:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    combinations from =>PHP 5.5 + Zend Opcache will have best performance over combinations with APC Cache. Just Zend Opcache doesn't do user data caching only PHP opcode caching, so you can't use Zend Opcache to cache data i.e. vbulletin datastore caching.
     
    • Like Like x 1
  4. Jota

    Jota Member

    75
    17
    8
    Oct 9, 2014
    Ratings:
    +19
    Local Time:
    12:57 AM
    So what combinations you suggest for wordpress to use with PHP 7 and Zend Opcache ? The best WordPress options.

    I'm playing now with PGO in a BETA as you explain in Added Profile Guided Optimizations To Boost PHP 7 Performance | Centmin Mod Community
     
  5. eva2000

    eva2000 Administrator Staff Member

    28,976
    6,578
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,764
    Local Time:
    12:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    Zend Opcache is best for everything from PHP 5.4-5.6 and PHP 7!
     
    • Like Like x 2