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,095
Replies
5
Views
3,942
Replies
3
Views
2,160
Replies
4
Views
3,066
Newer Threads
Replies
4
Views
4,286
Replies
21
Views
10,393
Replies
4
Views
2,500
Latest Threads

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