How to install OPcache in cPanel/WHM?

OPcache is a PHP extension and it helps to improve the performance of your php Website. OPcache improves the PHP performance by storing compiled script byte code in shared memory. Using OPcache you will find a significant amount of improvement on website loading time. It also helps to avoid load on the server. OPcache comes as a php extension in PHP 5.5 and later versions. 

Note: Installing OPcache from the WHM panel will require rebuilding the apache. It may take a few minutes to rebuild the apache and all the website hosted on the cPanel will be down during this time. 

  1. Login to your WHM Panel.

  2. Go to software and click on EasyApache4.



  3. Click on the customize button. 



  4. Click on PHP Extensions and select the php versions on which you want to enable the OPcache. 

  5. Write OPcache in the search box and click on the Next button. 



  6. Go to Review and click on the Provision button. 



  7. You will get the below screen once it is installed completely. Click on the Done button. 



  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to install the Zabbix agent version 4.0 on Debian 9 (strech)?

Zabbix is an Open-source monitoring tool use to monitor the health of servers, networks and other...

5 Wget Command Examples to Download Files in Linux.

wget is used to download your files from the remote server. It is used mostly on Linux...

How to install ISPConfig on Debian 10?

ISPConfig is an Open-source Hosting Control Panel for Linux. It is used widely as it is free of...

How Do I Point My Websites to VPS?

This article will guide you to point your websites to VPS. You can point your websites to VPS in...

DOS AND DON'TS FOR Linux VPS

Dos and Don'ts for Linux Classic VPS, SSD VPS, and Linux Private Cloud VPS : Please allow...