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

    108
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    3:05 AM
    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. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    6:05 AM
    Mainline
    10.2
    I recommend use the latest versions.
    PHP 5.6.8 with ZendOpcache
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,530
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    8:05 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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.
     
  4. Jota

    Jota Member

    78
    18
    8
    Oct 9, 2014
    Barcelona
    Ratings:
    +20
    Local Time:
    1:05 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

    53,530
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    8:05 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Zend Opcache is best for everything from PHP 5.4-5.6 and PHP 7!