PHP Benchmarks: OPcache vs OPcache w/ Performance Tweaks

Originally published at: PHP Benchmarks: OPcache vs OPcache w/ Performance Tweaks

A few weeks ago, I wrote a short article highlighting GUI solutions for monitoring and controlling PHP OPcache. We all know that enabling PHP OPcache provides massive performance gains (see benchmark graph at the end of the article). In addition, since PHP 5.5, OPcache is now enabled by default. With these facts in mind, is…

Thanks, I’ll try these out to see if my cache hit rate improves.

I’ve also seen a few sources up the interned_strings_buffer as well, but what exactly does this do? I’m normally hesitant to mess with defaults unless I am sure.

Opcache has been great ever since its introduction and really helps with all of my websites.
Having said that, I’m still uncertain on the best value for validate_timestamps. If there was a way to easily check for when a file was updated to restart PHP, I’d set to 0. Is there a way to do that?