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,374
Replies
1
Views
3,714
Replies
5
Views
3,823
Replies
3
Views
2,257
Replies
4
Views
2,513
Newer threads
Latest threads
Replies
1
Views
74
Replies
1
Views
172
Replies
4
Views
378
Replies
11
Views
522
Replies
2
Views
227
Recommended threads
Replies
4
Views
2,584
Replies
2
Views
1,450
Replies
13
Views
4,686
Similar threads

Latest postsNew 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