I use the new PHP with Opcache v7.0.3. I want to see how it works, just like xcache. Xcache has its official administrator page. OPcache does not have one. So I googled some and installed three control panels.

1. OCP – Opcache Control Panel

ocp

2. OP

op

3. Opcache

opcache

Within these tools or control panels, I can see the details of Zend Opcache. I can reset the whole opcode cache or just invalidate one file cached. It is very high performance  tool. Compare the cache hits and misses, it is 313893 to 377. Very high hit ration.

My Zend OPcache settings as below:

opcache.memory_consumption 128.00 MB
opcache.interned_strings_buffer 4
opcache.max_accelerated_files 50000
opcache.max_wasted_percentage 0.05
opcache.consistency_checks 0
opcache.force_restart_timeout 180
opcache.revalidate_freq 2

David Yin

David is a blogger, geek, and web developer — founder of FreeInOutBoard.com. If you like his post, you can say thank you here

Leave a Reply

Your email address will not be published. Required fields are marked *