Installing Zend OpCache PHP 7 With Easy Apache 4 (WHM/CentOS)

Installing Zend OpCache PHP 7 With Easy Apache 4 (WHM/CentOS)

Installing PHP Extensions Via Easy Apache 4

 

  1. In WHM go to Home » Software » EasyApache 4 and click Customize
  2. Go to PHP Extensions, search for “opcache” and enable it
  3. Next, search for the PHP DSO handler by typing in “php70-php”. (I spent hours searching for “DSO” which didn’t bring up this result. I wish they’d rename that module so it can be found easier.)
  4. Click “Next” and “Provision”
  5. Go to Home » Software » MultiPHP Manager, bring up the PHP Handlers tab, click edit and select DSO
  6. Restart Apache
  7. Bring up phpinfo() and check if OpCache is enabled, Up and Running
  8. Install OpCache Status or a different GUI and fine-tune your OpCache settings by editing your php.ini or opcache.ini file (check php.ini for location)

screenshot via e-tinkers.com (showing the GUI on PHP5)