How to change the version of php?
Ex2's latest servers give you the possibility to choose your PHP version (5.3 - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 - 7.4 - 8.0 - 8.1 and 8.2 ) that you want to use. It can be useful for third party applications, because sometimes they use a specific PHP version and they aren't compatible with the latest version of PHP.
For compatibily and security purposes, you can only use 1 version of PHP per client.
This functionality is available for everyone with a shared hosting plan. If you have a dedicated hosting plan and you want to use a PHP version that isn't offered on our cPanel, contact the support.
Steps to change you PHP version.
- Connect to your cPanel interface "https://www.domainname.com:2083" or by going through your client area.
- In the software section, click on the button "Select PHP version".
- In the PHP Selector section, using the dropdown list, select the PHP version that you want to use. You can also modify the extensions by default.
- Click on the button Set as current to save your php configuration than click on "save".
- If you want to verify your modifications, you can click on "server information" button which is located in the home page of cPanel.
Updated on: 04/09/2024
Thank you!