PHP Selector

With our shared and reseller hosting under CloudLinux, we offer the ability to change the PHP version.  In some specific cases you may need to change PHP version in your web hosting account at WebHostingBuzz. We have implemented a server setup model that allows each customer to choose which version of PHP to use.

Finding your default PHP version

Before changing your PHP version, you may find it useful to know which version you are running by default. You can do this one of two ways – by creating a PHP Info page, or alternatively following the following simple steps:

1. Log in to your cPanel account.

cPanel

2. Scroll down until you see the ‘PHP version’ field in the left sidebar -

cPanel PHP version sidebar

3. In this case, the default PHP version for this server is 5.3.26 (PHP 5.3).

 

Changing your PHP version

Many of our customers wish to change their PHP version. Please do not try to change PHP settings via .htaccess – instead follow these steps:

1. Log in to your cPanel account.

2. If you scroll down, you’ll see a box titled ‘Software/Services’.

cPanel software services page

3. Click on ‘Select PHP Version’, you’ll then see the below list of options. If you’re happy with your PHP version, but wish to turn individual extensions on/off, you can do this by ticking/unticking the various extensions.

cPanel PHP version page

4. If you click on the PHP Version drop-down box, you’ll be able to select from a number of versions (in this case, PHP 4.4 – 5.5). Please note, the ‘native’ PHP option does not allow you to change any options.

cPanel PHP page selector

5. If you wish to change individual settings within the PHP version, you can click ‘Show PHP Settings’.

cPanel PHP page options selector

6. By clicking on one of the options (in grey), you will be presented with a drop-down list through which you can change individual settings.

cPanel PHP drop down box selector

7. Once done, you can click Save.

What if an unsupported version is needed

Please do not upload/use custom php.ini files. If you’re stuck with some really old web software and can’t upgrade for some reasons, or if you want to try the latest beta versions of PHP – it’s still possible with WebHostingBuzz.

Go ahead and get a virtual private server starting at $14.95/month, or a dedicated server starting at only $139/month! With unrestricted root access you’ll be able to install and configure any server-side software needed.

Recommendations

We highly recommend to use PHP 5.4.x branch and adapt your scripts accordingly. PHP 5.3.x is now EOL (End Of Life), so we would no longer recommend using that version.

If you’re using a ready-made PHP-based software (CMS, forum, shopping cart, etc) – be sure it’s up to date. In case the latest version of your software doesn’t support PHP 5.4.x – contact your software vendor for a new version or PHP 5.4 compatibility patch.

If all your web scripts support PHP 5.4 just fine but the default PHP version in your account is earlier than 5.4 – go ahead and use the above instructions to change PHP version to 5.4.x.


Was this article helpful?
Spread the word!