InMotion Hosting Support Center

Note that you will require root access, and the PHP version to be 5.5, or newer in order to use these directions.

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.

Installation

  1. Log into your server as the root user.
  2. Run the EasyApache script.
    /scripts/easyapache
  3. If you are not installing Mod RUID2 or changing Apache versions select Customize Profile.
  4. Select Next Step on the Apache section.
  5. Select Next Step on the PHP section.
  6. Select Exhaustive Options List when you get to the modules section.
  7. 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.
  8. Select Save and Build.
  9. You will need to confirm what you are doing by selecting Yes to rebuild apache.
  10. 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

  1. Run the following red command to confirm Opcache has been installed.
    root@dedicated [~]# php -m|grep cache
    Zend OPcache
  2. 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.

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

   
Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
n/a Points
2017-05-03 10:12 pm

These steps are for EasyApache 3. I think that there should be an indication that this is for EA 3, and you should update these instructions to include directions for EA 4 as well

n/a Points
2017-01-18 10:56 pm

Wait PHP 5.5 or lower?

Or PHP 5.5 or newer?

Comment from August says lower, Tim S says, thanks we will update article, then top of article says updated Nov 16 says php 5.5 or newer.

Which is it?

thanks,

Caroline

Staff
30,388 Points
2017-01-19 3:03 pm
Sorry for the confusion. Zend Opcache is included (but not enable) in the newer versions of PHP. Unfortunately, I could not locate the specific version that began including this.

If you want this enable it will require at least a VPS or Dedicated server, and Live Support can make this change for you.

Thank you,
John-Paul
n/a Points
2016-07-10 8:37 am

I have VPS plan VPS-1000S on Inmotionhosting. Can support team install it on my VPS on my behalf?

Staff
43,761 Points
2016-07-11 1:57 pm
Hello Shahid,

Yes, our support team can install it for you. Please contact the Live Support for more information.

Kindest Regards,
Scott M
n/a Points
2016-06-20 7:40 am

Your problem is that your are using a very old version of php in shared hosting. You are now lagging behing your competitors because Siteground has enabled OPcached in sharehosting! https://www.siteground.com/blog/php-7-with-opcache/

We newest generation of all CMS i.e. Drupa 8 request pocached enabled. VPS and Dedicate hosting cannot be used just because the customer needs OPcache.

Staff
43,761 Points
2016-06-20 1:04 pm
Hello Joe,

We have all PHP versions from 5.2 all the way to 7 on our servers. Account owners can set their preferred version on an account or even folder level.

Kindest Regards,
Scott M

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

8 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!