PHP Zend Opcache vs APC?

Jovani

Well-known member
Registered
Joined
Jul 10, 2012
Messages
141
Points
0
Which is better for PHP performance? PHP Zend Opcache or APC?
 

m3server

Member
Registered
Joined
Oct 8, 2015
Messages
37
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.
 

Jovani

Well-known member
Registered
Joined
Jul 10, 2012
Messages
141
Points
0
Jovani
I have not ever used opcache before, can I install both (opcache and memcached) or (memcached and APC) on the same server?
 

m3server

Member
Registered
Joined
Oct 8, 2015
Messages
37
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
1
Views
2,611
Replies
5
Views
5,312
Replies
3
Views
2,723
Replies
4
Views
4,023
Newer Threads
Replies
4
Views
5,667
Replies
21
Views
13,811
Replies
4
Views
3,138
Latest Threads
Replies
1
Views
299
Replies
1
Views
450
Replies
0
Views
190
Replies
0
Views
179
Recommended Threads
Replies
26
Views
14,139
Replies
3
Views
4,672
Replies
0
Views
4,209

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

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