Webmaster Sun Login
Not a member yet? Sign up

PHP Zend Opcache vs APC?

  • HOME
  • FORUMS
  • WHAT'S NEW
  • 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
    185
    Thumbs Up/Down
    Received: 10/1
    Given: 109/0
    Thanks
    59
    Thanked 14 Times in 14 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: 1665
    Last post by Nytshade, 08-01-2015, 07:31 AM
  2. charnjeetsingh
    akashsharma
    Replies: 7 | Views: 1717
    Last post by akashsharma, 08-20-2015, 12:12 PM
  3. alexport
    Archana
    Replies: 9 | Views: 2436
    Last post by Archana, 09-02-2015, 06:47 AM
  4. trustdnb
    Alby
    Replies: 11 | Views: 2930
    Last post by Alby, 10-20-2015, 04:22 PM
  5. Nemanja
    ricksalas
    Replies: 4 | Views: 1451
    Last post by ricksalas, 09-05-2015, 06:33 AM

Older Threads

  1. Jovani
    hostslim
    Replies: 4 | Views: 1398
    Last post by hostslim, 11-19-2015, 11:35 AM
  2. Harry P
    Harry P
    Replies: 1 | Views: 2544
    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: 2429
    Last post by drastic, 08-01-2015, 06:14 AM
  4. jasonquey
    Newille
    Replies: 3 | Views: 1416
    Last post by Newille, 11-13-2015, 11:45 AM
  5. Emilio
    MarcS
    Replies: 4 | Views: 1447
    Last post by MarcS, 08-01-2015, 05:05 AM

Latest Threads

  1. HansA
    Rob Whisonant
    Replies: 1 | Views: 39
    Last post by Rob Whisonant, Yesterday, 04:47 PM
  2. Messiah Minded
    Messiah Minded
    Replies: 2 | Views: 31
    Last post by Messiah Minded, Yesterday, 11:41 AM
  3. Moranme
    Scopehosts
    Replies: 2 | Views: 45
    Last post by Scopehosts, 04-19-2019, 07:04 AM
  4. Moranme
    GMBReviews
    Replies: 3 | Views: 68
    Last post by GMBReviews, 04-19-2019, 08:29 PM
  5. Mark_Alfred
    GalynkaGlnk
    Replies: 3 | Views: 78
    Last post by GalynkaGlnk, 04-18-2019, 12:59 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!