How to Install OpCache on your cPanel Server

In this tutorial, we will show you how to install OpCache on your cPanel server. OpCache can easily be set up on your server via WHM using EasyApache 4 (EA4).

Installing OpCache

  1. Log into WHM as the ‘root‘ user.
  2. opcache ea4

    Type ‘easy’ in the search field, then click the EasyApache 4 link in the Software section.

     
  3. opcache provision opcache

    You will see the All PHP Options + OpCache option listed, click the Provision button.

     

    opcache preparing selected packages for review

    You will then see a message stating “Preparing selected packages for review …” This may take several minutes.

     
  4. opcache provision opcache ea4

    You will then see a list of the packages you will be installing and upgrading. Scroll to the bottom and click the Provision button.

     

    opcache provision process started

    The provision process will begin. This may take several minutes to complete.

     
  5. opcache done provisioning opcache

    OpCache has been installed successfully when you see a message stating “The provision process is complete.” Click the Done button on the bottom of the page.

     

Congratulations, now you know how to install OpCache on your VPS or Dedicated server!

JB
John-Paul Briones

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

Was this article helpful? Let us know!