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,403
Replies
1
Views
3,864
Replies
5
Views
3,969
Replies
3
Views
2,282
Replies
4
Views
2,542
Newer threads
Latest threads
Replies
1
Views
66
Replies
1
Views
67
Replies
1
Views
142
Replies
1
Views
172
Replies
1
Views
266
Recommended threads
Replies
11
Views
3,476
Replies
2
Views
2,912
Replies
3
Views
1,269
Replies
29
Views
14,619
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