Installing Zend OpCache InMotion Hosting ContributorUpdated on November 4, 2021 1 Minute Read This tutorial will quickly explain how to install Zend OpCache on your dedicated server. This guide requires you to be logged into your server with the root user, and the PHP version to be 5.5 or newer. Note: You must have root access to your server to complete this guide. InMotion allows root access on all VPS Hosting and Dedicated Hosting plans. Installation Log into your server as the root user. Run the EasyApache script. /scripts/easyapache If you are not installing Mod RUID2 or changing Apache versions select Customize Profile. Select Next Step on the Apache section. Select Next Step on the PHP section. Select Exhaustive Options List when you get to the modules section. Scroll down below PHP 5.x continued to find Opcache. Hit your spacebar to select the module and you should see and X in the brackets. After you do this choose Next Step. Select Save and Build. You will need to confirm what you are doing by selecting Yes to rebuild apache. Another prompt will show up asking you to acknowledge you understand the changes being made to the server, you will need to select I Understand before the program will continue. Configuration Run the following red command to confirm Opcache has been installed. root@dedicated [~]# php -m|grep cache Zend OPcache Edit your php.ini file to add the following line at the bottom. zend_extension=”/usr/local/lib/php/extensions/no-debug-non-zts-20121212/opcache.so” Now your PHP scripts will get cached so they can be provided to visitors during the intial page loading. This caching engine can increase your page load speed to to 75% faster. Share this Article InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles Installing Zend OpCache Enable Zend Optimizer or Zend Guard Installing Zend Framework