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 et 7.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.
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".
![](https://www.ex2.com/clients/index.php?rp=/images/kb/126_select-PHP-version.png)
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.
![](https://www.ex2.com/clients/index.php?rp=/images/kb/121_selectionnez-la-version-de-php.png)
Click on the button Set as current to save your php configuration than click on "save".
![](https://www.ex2.com/clients/index.php?rp=/images/kb/122_Set-as-current.png)
If you want to verify your modifications, you can click on "server information" button which is located in the home page of cPanel.
![](https://www.ex2.com/clients/index.php?rp=/images/kb/127_Capture-decran-le-2021-06-14-a-11.27.32.png)
![](https://www.ex2.com/clients/index.php?rp=/images/kb/128_php-version.png)
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".
![](https://www.ex2.com/clients/index.php?rp=/images/kb/126_select-PHP-version.png)
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.
![](https://www.ex2.com/clients/index.php?rp=/images/kb/121_selectionnez-la-version-de-php.png)
Click on the button Set as current to save your php configuration than click on "save".
![](https://www.ex2.com/clients/index.php?rp=/images/kb/122_Set-as-current.png)
If you want to verify your modifications, you can click on "server information" button which is located in the home page of cPanel.
![](https://www.ex2.com/clients/index.php?rp=/images/kb/127_Capture-decran-le-2021-06-14-a-11.27.32.png)
![](https://www.ex2.com/clients/index.php?rp=/images/kb/128_php-version.png)
Updated on: 17/05/2023
Thank you!