How To Enable PHP 5.5 Opcache
Install Requirements yum install gcc httpd-devel php-pear pcre-devel Install Zend Opcache yum install php-pecl-zendopcache This will install Zend Opcache. Restart Server You will need to restart your server after installation for this to take effect: sudo service httpd restart Stopping httpd : [ OK ] Starting httpd : [ OK ] Test Installation [root@ip-172-31-29-134 ec2-user]# php -v PHP 5.6.9 (cli) (built: May 28 2015 00:59:21) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies On nginx (php-fpm) [root@ip-172-31-29-134 ec2-user]# php-fpm -v PHP 5.6.9 (fpm-fcgi) (built: May 28 2015 01:00:40) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0....