How to use different PHP versions
When you set up a website or any other project in your Web Hosting, the system automatically chooses a default PHP version for you to use. However, if you need to switch to another PHP version for a particular project, you can modify your current PHP version via your Hosting Manager.
Note: You cannot run multiple PHP versions on one hosting account. You can only enable one PHP version at a time.
Currently, the PHP versions available for you to use 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
To switch your PHP version via your Hosting Manager, follow the steps below:
- Click on My Account at the top of the 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 use different PHP versions.
Important Note: If it is not absolutely necessary to use an older version, Crazy Domains recommends that you update your PHP version as soon as you are done using the older one. Each PHP version only gets full support for three years after its initial stable release, which means older versions may no longer be supported. Using unsupported older versions may expose you to security vulnerabilities.
If you want to check your current PHP version and other PHP settings, you can do so 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:
If you want to know how to increase the PHP memory limit, click here.
If you want to know how to change the PHP time zone using php.ini, click here.
If you want to know how to access the Hosting Manager, click here.
Fantastic...Thank you for your feedback =)
Sorry... Please submit a support ticket or try another search.
- How to change your PHP version in cPanel Hosting
- How to use the Public_FTP folder
- How to change the PHP time zone using php.ini
- How to increase PHP memory limit
- Using PHP FormMail