APC going to end, ZendOptimizer to rise
The INSTALL file in the latest APC (3.1.13) from http://pecl.php.net/package/APC says: "This version of APC should work on PHP 4.3.0 - 4.4.x and 5.1.0 - 5.2.x." …. So that's it - there is no support for 5.3.x and greater But hang on we aren't abandoned, we have https://github.com/zend-dev/ZendOptimizerPlus So if you are using PHP 5.3.x and greater use this, it is available via PECL, but still on the beta state How to install 1) Via PECL (http://pecl.php.net/package/ZendOpcache) sudo pecl install ZendOpcache-beta Once it is installed, please update the php.ini as suggested in here https://github.com/zend-dev/ZendOptimizerPlus/blob/master/README 2) Via chef php_pear LWRP php_pear "opcache" do action :install preferred_state :beta package_name "ZendOpcache" zend_extensions ['opcache.so'] directives(:memory_consumption => 128, :enable_cli => 1, :max_accelerated_files => 4000, :revalidate_freq => 60, :fast_shutdown => 1) end # We need to fix up the entries bash "Fixup the Zendopcache ini" do code <<-EOF sed -i 's/ZendOpcache\./opcache\./g' /etc/php5/conf.d/ZendOpcache.ini EOF end ----- enjoy :)










