Since 5.5, PHP comes with a built-in OPcache system. This PHP accelerator has been open sourced by Zend and is a good replacement for APC.
If you installed PHP 5.6 on your Mac with Homebrew, you maybe noticed that OPcache is not enabled by default. Even if the extension has been compiled, a manual configuration must be done to enable the extension.
zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.soat the end of this file
- Restart your PHP FPM or Apache if you are using mod_php
You’re dev environment is now blazing fast!