How to Change PHP Version in cPanel

This quick article will teach you how to change your PHP Version in cPanel!

First, click on ntPHPSelector under Software/Services

1

Then, select the directory that you would like to change the PHP Version of

2

Select the PHP Version you prefer from the drop down menu

3

And click Submit

4

That’s it! Your new PHP Version will now be set!

5

Looking for quality web hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , | Posted under cPanel/Linux Hosting, Internet | RSS 2.0

Author Spotlight

Arian Jahansouz

Arian Jahansouz

Hello, I am Arian! I have been writing for Arvixe since 2009 and now head the Arvixe Blog. Feel free to contact me at any time with questions or comments!

8 Comments on How to Change PHP Version in cPanel

  1. Tord Dellsén says:

    Hi and thank you for this,
    is it possible to set the php version for a subdirectory of public_html? For example as is given in one of the examples public_html/wp or in my case for one of my subdomains?
    Kind Regards,
    Tord

  2. Steve says:

    Yes, you can set different version for sub directory. Just select the sub directory and desired version and click submit to work.

  3. Sergio Corrales says:

    When I click on ntPHPSelector I get a 404 page…any ideas?

  4. tyrus says:

    I have changed the Version of PHP from 5.3 to 5.5 but it did not updated the extensions and so getting error for one of the extension as:
    PHP Core Warning – yii\base\ErrorException
    PHP Startup: SourceGuardian: Unable to initialize module
    Module compiled with module API=20090626
    PHP compiled with module API=20100525
    These options need to match
    Can someone help on this please.

    • Alex Alex says:

      Hello,

      Can you please reach out to our support team (support @ arvixe.com). They should be able to assist you with this.

  5. Jesse says:

    Hi! I can’t change my PHP version using this method.
    Going through these steps works perfectly fine, but the PHP version does not change.

    • Alex Alex says:

      Hello,
      I recommend you reach out to our support team (support @ arvixe.com). They should be able to help you with this.
      -Alex.

Leave a Reply

Your email address will not be published. Required fields are marked *


6 − = 5

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