Activating PHP Opcache on Ubuntu with Apache

Edit /etc/php5/apache2/php.ini

Change

;opcache.enable=0

to

opcache.enable=1

Run sudo php5enmod opcache and sudo service apache2 restart

Meta

Created:

Updated: 2015-12-15 23:12