How to change your PHP version in cPanel Hosting
Your Web Hosting with Crazy Domains gives you the option to run different versions of PHP on your account. The PHP versions available are the following:
- PHP Version 4.4
- PHP Version 5.1
- PHP Version 5.2
- PHP Version 5.3
- PHP Version 5.4
- PHP Version 5.5
- PHP Version 5.6
- PHP Version 7.0
- PHP Version 7.1
- PHP Version 7.2
- PHP Version 7.3
- PHP Version 7.4
- PHP Version 8.0
- PHP Version 8.1
Many third party applications will require different PHP versions so you may want to switch to another version for a particular project. You can perform this modification in your Hosting Manager control panel.
To change your PHP version, follow the steps below:
- Click Sign Up / Log In at the top of this page.
- Select Hosting Manager from the drop-down menu.
- Enter your username and password, and click Log In.
- On the Home page, scroll down and click the word Software or the [ v ] arrow symbol on the right side.
- Click the Select PHP Version button, which is next to Installatron Applications Installer.
- On the Select PHP Version page, select the PHP Version you want from the drop-down menu. Then, click Set as current.
Your PHP version will be updated instantly. To check if the changes has taken effect, you can check the Current PHP version at the top of the page.
Congratulations, you now know how to switch to different PHP versions.
Some additional information
If you want to specify which PHP extensions you want enabled, check or uncheck their corresponding boxes and click Save at the bottom of the page. If you want to just enable the default PHP extensions, click Use Defaults.
If you want to modify any of the PHP Options, click the Switch To PHP Options at the top-right corner of the page. On the next page, make the changes you want by clicking the values and typing/selecting your options. Then, click Save.
You can also view your current PHP version and other settings in your phpinfo.php file. To view the file on your browser, type the file's web address (url) in the browser address bar. If you placed it in the public_folder, the URL will be http://yourdomain.com/phpinfo.php.
If you don’t have a phpinfo.php page and you want to know how to create one, click the link below:
What to do if you can't change the PHP version?
If you get an error when you try to change the PHP version or you cannot locate the Select PHP Version button please contact our 24/7 technical support so we can transfer you to a server with a choice of PHP versions enabled.
Note: Transferring your account will not cause any downtime.