Jun 192018
 

The following tutorial Set PHP Version Per Domain VPS Server, shows you how to set up the php version to each domain added in your vps server.

The following instructions shows you how simple it is to assign a php version to each domain added to your vps server. This is much easier now in EasyApache 4. You don’t have to restart the server or use command line in the backend anymore to change the php version.

Update PHP Version VPS Server Tutorials

  1. How To Update PHP Version in a VPS Server
  2. Set PHP Version Per Domain VPS Server

Note: Make sure you notify your clients just in case there is any downtime. That is, if you are hosting other accounts in your VPS or Dedicated server.

Set PHP Version Per Domain VPS Server

Step 1 ) Log into WHM (Web Host Manager) as illustrated in the image below. Make sure your login has https in the URL address. The following URL is an example of a secured login.

Note: In your server the login URL address might be different.

https://yoursite.com:2087/

If you see the “Feature Showcase” scroll to the bottom and click the Exit to WHM button.

update-php-version-vpn-server-log-into-whm

Step 2 ) Click on MultiPHP Manager as illustrated in the image below.

1-multiphp-manager-vpn-server-whm-software

Step 3 ) Click on PHP Versions tab as illustrated in the image below.

2-php-version-multiphp-manager-whm-software

Step 4 ) The following image System PHP Version allows you to edit the default PHP version you want to assign by default when adding a new domain. In this example ea-php56 is set as default.

3-system-php-version-multiphp-manager-whm-software

Step 5 ) The following image Set PHP Version per Domain, allows you to select one ore more domains from the list and set the php version. This is a great opportunity to carry out some test. It is always a good idea to have a site for testing a new php version.

Set PHP Version per Domain

  • Select one ore more domains from your list.
  • Select PHP Version from the list “If you have more than one version added”. Once you are ready, click on Apply button.
  • Search for a domain name when you have many domains added to your server.

4-set-php-version-per-domain-multiphp-manager

That is all it takes to set up a php version per domain in your server.

If you have any questions please let me know. I will be updating this tutorial from time to time. Come back to read the latest updates.

Enjoy.

Manuel Ballesta Ruiz is a web developer, Blogger and WordPress Enthusiast.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

The following GDPR rules must be read and accepted:
This form collects your name, email and content so that we can keep track of the comments placed on the website. For more info check our privacy policy where you will get more info on where, how and why we store your data.