PHP 5.5. has zend opcache support in core. Since APC is not updated from long time, we made a switch to new Zend Opcache. Below is our config and web-based stats viewer.
PHP’s Zend Opcache Config
php.ini or depending on your PHP version
zend_extension=opcache.so opcache.memory_consumption=512 opcache.max_accelerated_files=50000 ;following can be commented for production server opcache.revalidate_freq=0 opcache.consistency_checks=1
Unlike APC, for Zend Opcache there are plenty of web-based viewer. May be reason being zend opcache’s official status has something to do with it. Below is list to choose from.
This is by PHP creator himself. Very beautiful.
cd /var/www/example.com/htdocs wget https://raw.github.com/rlerdorf/opcache-status/master/opcache.php
Responsive. Feature-rich. Notably option to enable real-time stats and and option to reset/flush opcache.
If you are going to use this, make sure it is protected by some security layer.
cd /var/www/example.com/htdocs/ wget https://raw.github.com/amnuts/opcache-gui/master/index.php -O op.php
#3. ocp.php by ck-on
Has best way to analyse/explore file-based cache. UI is more old-style.
We are using all 3 for now! We will update this post if we add or remove anything from our list.