This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

Change Your PHP Version - Dedicated and VPS Hosting

On our VPS or Dedicated hosting service, changing the PHP versions, loading custom Apache mods, and other Apache/PHP customizations are all performed in the Web Host Manager (WHM). To make these changes please follow the instructions below:

  1. Log into WHM (Web Host Manager). Accessing WHM

    If you see the "Feature Showcase" scroll to the bottom and click the Exit to WHM button

  2. In the search field, in the upper left hand corner, search for EasyApache.
    EasyApache in the Software section
  3. Scroll down to the bottom and click Start customizing based on profile.
    Start Customizing Based on profile
  4. On the next page, click Next Step without changing the version of Apache (unless you KNOW you need a different version).
  5. On the next page, choose your PHP version, then click Next Step.
  6. If necessary, go through the short and exhaustive options lists to enable any needed Apache mods or PHP extensions. After this is done (or if you don't need to enable these), scroll to the bottom and click Save and Build.
    Save and Rebuild button
  7. Confirm this choice. The process will start. It will take about 15 minutes or so to recompile, and then Apache will briefly restart (which will result in several seconds of downtime).
    Confirm Rebuild button

The build process can take about 20 minutes or more. Don't close WHM during this time. After recompiling, Apache will restart with your desired Apache/PHP settings. That takes several seconds.

(Source and more info: http://docs.cpanel.net/twiki/bin/view/EasyApache/WebHome)

Knowledgebase Article 67,028 views bookmark tags: easyapache php vps whm


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

This article will explain how to use Easy Apache to recompile Apache. This is useful if you want to change the version of PHP or change other PHP and Apache settings.
Knowledgebase Article 36,905 views tags: apache build compile dedi dedicated easy modules version vps

How to change your PHP version in your hosting account
Knowledgebase Article 449,300 views tags: config php selection version

This article will explain how to add a PHP handler to your .htaccess files. This is useful if you want to customize the version of PHP that runs your PHP files.
Knowledgebase Article 181,824 views tags: htaccess php

Related Help Content

How to setup name servers for multiple cPanel accounts.
Knowledgebase Article 130,226 views tags: accounts custom dedicated multi multiple nameservers server servers

How do I change my contract length?
Knowledgebase Article 152,793 views tags: change contract hosting length package payment

How to edit PHP Configuration --- VPS or Dedicated
Knowledgebase Article 62,371 views tags: dedicated php root vps whm

In the newer versions of PHP, they have included a new directive to control and handle remote includes. We disable this option, by default, which may affect some of your PHP scripts.
Knowledgebase Article 97,715 views tags: include php remote url

Hard refresh after changing the .htaccess
Knowledgebase Article 89,053 views tags: apache

This tutorial will help you be able to install the PHP PECL package APC. (Alternative PHP Cache)
Knowledgebase Article 68,712 views tags: caching dedicated pecl vps

If suddenly when you go to your page, you get nothing on the page. You can still get HTML to display, just not PHP. To serve HTML pages to browsers, we don't associate the Apache processes with your 2
Knowledgebase Article 100,587 views tags: blank page php

Script executed with a cron job requires a specific php.ini file to be used.
Knowledgebase Article 115,250 views tags: command cron cronjob crontab custom line optimizer php zend

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.