How to upgrade your PHP version

InMotion Hosting has servers with different versions of PHP for each. This is because each customer has their own version requirements for their website to work. In the event that you need a newer version of PHP on your server, you can upgrade if you are on a Dedicated or VPS server. If you are on a Shared server, you can change the PHP version through cPanel (not available on all servers).

Switching the PHP version in cPanel

On many of our newer servers, you can switch the PHP version through your cPanel. To learn how to change the PHP version, see our article on How to change the PHP version your account uses.

Upgrading on a VPS or Dedicated server

On VPS and Dedicated servers, you can upgrade the server PHP version through your WHM. For information on how to do this see our How to Upgrade PHP Using EasyApache article.

If you cannot change the PHP version in cPanel

If you do not have a VPS or Dedicated server and you cannot change the PHP version in cPanel then you will need to contact tech support to have your account moved to a server with a newer version of PHP. Moving your account to another server will not have any downtime. The account move is done by our systems support so no action is required on your end.

When submitting a ticket for this, please let them know what version of PHP you need and verify the account with the  last 4 digits of the credit card on file and our systems support will move you ASAP.

9 Comments

  • Thanks for shearing such beautiful information with us. I hope you will shear some more info about…..Please Keep sharing!

  • Dear Hosting Provider,

    I want my website to be as performant and secure as
    possible with the latest version of PHP. For the server
    my WordPress site is hosted on, I want to ensure that
    is the case. If I am not already on the latest version
    of PHP, please let me know what steps I need to take
    to update.

    Thanks!

  • hello dear friend i need for help i upload my desgin of website in new cpanel but the new cpanel is new version i change virsion from cpanel some old version but not solved my problem please help me this is my website www.ayil.af

    how can change php version from sorces cod of php

    this is from old cpanel .htaccess

    RewriteEngine on

    RewriteCond $1 !^(index\.php|nayil|bootstrap|images|frontend|js|user_guide|css|fonts|vendors|froala|assets|media|robots\.txt)

     

    RewriteRule ^(.*)$ /index.php/$1 [L]

    and

    php.ini

    ini_set(‘extension’, ‘php_fileinfo.so’);

    but now i can’t work in new version of new cpanel 

    • Changing the PHP version installed on the server (source code) would require a VPS or Dedicated Server with root access. cPanel provides documentation for using EasyApache 4 to change the server’s PHP version. I hope this helps!

  • Same as Garret, can not see the EasyApache option. I’ve tried logging directly to WHM and through my CPanel and do not get the same WHM example images Inmotiong uses as examples. Need to upgrade to at least PHP 5.4.8.

    Also tried to log in to support center (forgot username) but it gives an SMTP error from your site…?

    Thanks

Was this article helpful? Let us know!