Webmaster Sun Login
Not a member yet? Sign up

PHP Zend Opcache vs APC?

  • HOME
  • FORUMS
  • BLOGS
  • MARKETPLACE
  • ADVERTISING
  • SPECIAL OFFERS
  • WEB HOSTING
  • QUICK MENU
  • REGISTER HERE - Join us for FREE
Results 1 to 6 of 6
    Stick this thread
  1. #1
    Join Date
    Jul 2012
    Posts
    319
    Thumbs Up/Down
    Received: 3/0
    Given: 23/0
    Thanks
    121
    Thanked 28 Times in 20 Posts

    PHP Zend Opcache vs APC?

    Which is better for PHP performance? PHP Zend Opcache or APC?

  2. #2
    Join Date
    Oct 2015
    Posts
    38
    Thumbs Up/Down
    Received: 5/0
    Given: 0/0
    Thanks
    0
    Thanked 16 Times in 12 Posts
    Both are very good. Which is better, depends on the application. Only bench testing with load stress tests will provide results needed to make the decision for your application. We used APC for a decade but have recently switched to opcache because we have seen better compatibility and much improved stability.

  3. The Following User Says Thank You to m3server For This Useful Post:
    Jovani (10-10-2015)

  4. #3
    Join Date
    Jul 2012
    Posts
    319
    Thumbs Up/Down
    Received: 3/0
    Given: 23/0
    Thanks
    121
    Thanked 28 Times in 20 Posts
    Quote Originally Posted by m3server View Post
    Both are very good. Which is better, depends on the application. Only bench testing with load stress tests will provide results needed to make the decision for your application. We used APC for a decade but have recently switched to opcache because we have seen better compatibility and much improved stability.
    I have not ever used opcache before, can I install both (opcache and memcached) or (memcached and APC) on the same server?

  5. #4
    Join Date
    Oct 2015
    Posts
    38
    Thumbs Up/Down
    Received: 5/0
    Given: 0/0
    Thanks
    0
    Thanked 16 Times in 12 Posts
    Quote Originally Posted by Jovani View Post
    I have not ever used opcache before, can I install both (opcache and memcached) or (memcached and APC) on the same server?

    memcached is best for page and database caching.
    you can use only one object cache, either APC or opcache
    So yes you can use memcached and one object cache on the same server.

  6. The Following User Says Thank You to m3server For This Useful Post:
    Jovani (10-10-2015)

  7. #5
    Join Date
    Oct 2015
    Posts
    38
    Thumbs Up/Down
    Received: 5/0
    Given: 0/0
    Thanks
    0
    Thanked 16 Times in 12 Posts
    memcached is mostly used for database caching, but certain coding like wordpress’ w3 total cache can use memcached to store php rendered work as pages to save cpu processing time of rendering the code to make the page.
    memcached can also store objects as well, but I have found the cache gets fragmented and the overhead decreases performance. saving memcached for database and page is best, leaving object caching to opcache.
    APC is removed from php 5.5, developers have chosen Zend Opcache as the winner.
    so APC is old, Zend Opcache is the new standard.

  8. #6
    Join Date
    Sep 2014
    Location
    Canberra
    Posts
    178
    Thumbs Up/Down
    Received: 8/1
    Given: 101/0
    Thanks
    59
    Thanked 13 Times in 13 Posts
    Quote Originally Posted by Jovani View Post
    Which is better for PHP performance? PHP Zend Opcache or APC?
    PHP Zend Opcache seems work better and I am having it running with PHP 7.x

Newer Threads

  1. Danlucy
    Starting a blog?
    By Danlucy in forum Content Management
    Nytshade
    Replies: 4 | Views: 1598
    Last post by Nytshade, 08-01-2015, 07:31 AM
  2. charnjeetsingh
    akashsharma
    Replies: 7 | Views: 1655
    Last post by akashsharma, 08-20-2015, 12:12 PM
  3. alexport
    Archana
    Replies: 9 | Views: 2341
    Last post by Archana, 09-02-2015, 06:47 AM
  4. trustdnb
    Alby
    Replies: 11 | Views: 2783
    Last post by Alby, 10-20-2015, 04:22 PM
  5. Nemanja
    ricksalas
    Replies: 4 | Views: 1385
    Last post by ricksalas, 09-05-2015, 06:33 AM

Older Threads

  1. Jovani
    hostslim
    Replies: 4 | Views: 1351
    Last post by hostslim, 11-19-2015, 11:35 AM
  2. Harry P
    Harry P
    Replies: 1 | Views: 2460
    Last post by Harry P, 10-13-2015, 05:31 AM
  3. Harry P
    Buying Need a Wordpress domain name
    By Harry P in forum Domains
    drastic
    Replies: 5 | Views: 2327
    Last post by drastic, 08-01-2015, 06:14 AM
  4. jasonquey
    Newille
    Replies: 3 | Views: 1353
    Last post by Newille, 11-13-2015, 11:45 AM
  5. Emilio
    MarcS
    Replies: 4 | Views: 1369
    Last post by MarcS, 08-01-2015, 05:05 AM

Latest Threads

  1. itarachiu
    itarachiu
    Replies: 2 | Views: 54
    Last post by itarachiu, Yesterday, 06:43 AM
  2. romanalexeevich198
    Where can I sell vector icons?
    By romanalexeevich198 in forum Graphic Design
    romanalexeevich198
    Replies: 0 | Views: 50
    Last post by romanalexeevich198, 01-19-2019, 02:46 PM
  3. denverdonate
    404 errors and a site's performance
    By denverdonate in forum Google
    denverdonate
    Replies: 0 | Views: 39
    Last post by denverdonate, 01-19-2019, 12:42 PM
  4. denverdonate
    denverdonate
    Replies: 0 | Views: 57
    Last post by denverdonate, 01-19-2019, 09:17 AM
  5. Fixfast
    johnmart
    Replies: 2 | Views: 63
    Last post by johnmart, Today, 12:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Internet Marketing Forum

Webmaster Sun is a forum where you’ll find in-depth discussions and resources to help you succeed on the web whether you are new or experienced. You’ll find it all here. With topics ranging from internet marketing, search engine optimization, social networking, make money online, web hosting, affiliate marketing as well as hands-on technical support for web design, programming and more. We are a growing community of like-minded people that is keen to help and support each other with ambitions and online endeavors. Learn and grow, make friends and contacts for life.

Come Hang Out With Us

    Facebook Twitter Webmaster Forum Google+

    Webmaster Sun Logo
Copyright ©2012 - 2019, WebmasterSun.com. All rights reserved. Internet marketing forum for internet marketers, webmasters, web hosting providers, designers and affiliate marketers.

Welcome to Webmaster Sun

The World's Number 1 Webmaster Community, SEO and Marketplace

Log in!

Continue with Facebook
Continue With Email. By signing up you indicate that you have read and agree to the Terms of Service and Privacy Policy.

Sign in Manually

Need an account? Sign up now!