PHP Zend Opcache vs APC?

Jovani

Active member
Joined
Jul 10, 2012
Messages
338
Points
28
Which is better for PHP performance? PHP Zend Opcache or APC?
 

m3server

New member
Joined
Oct 8, 2015
Messages
38
Points
0
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.
 
  • Like
Reactions: Jovani

Jovani

Active member
Joined
Jul 10, 2012
Messages
338
Points
28
Jovani
I have not ever used opcache before, can I install both (opcache and memcached) or (memcached and APC) on the same server?
 

m3server

New member
Joined
Oct 8, 2015
Messages
38
Points
0
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.
 
Older threads
Replies
4
Views
2,547
Replies
1
Views
4,034
Replies
5
Views
4,221
Replies
3
Views
2,414
Replies
4
Views
2,697
Newer threads
Recommended threads
Replies
2
Views
2,442
Replies
1
Views
2,243
Replies
2
Views
2,175
Similar threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top