It is possible to change the PHP version of a sub-domain towards a more up to date version. In general, we keep the versions distributed by Debian, which are covered by security updates after those provided by the PHP team. Therefore, it should not be necessary to update the PHP version for security reasons, but it is a good thing if you aim to obtain better performance. Multiple PHP versions are available; during upgrades, we transfer users toward the minimal supported version to reduce the work necessary to maintain your applications.
If your website is in HTTPS, it will be in the "Advanced subdomains" section. In this case, you have to contact us to ask us to make the switch for you.
If you need more details about how to check your website compatibility with a specific PHP version, please read our wiki guide.
If you wish to change to aanother PHP version, you can do it in the AlternC interface by clicking on the domain (1), and then on modify (2) to affect a subdomain locally hosted.
Then you in the domain interface, you can click on "http locally hosted php 8.1" (1) and then cut and paste the directory in which the files are hosted (2).
You then need to click on the "Edit the subdomain" button. Changes will be applied in the next 10 minutes. If you have questions on the process, please contact us!
Important: if your domain's DNS servers are managed externally to our hosting service, you will need to apply a change to the external DNS servers for the change to become visible. The sub-domain will then need to point the one of the following IP addresses:
- for PHP 8.2: 199.58.80.42
- for PHP 8.1: 199.58.80.35
- for PHP 7.3: 199.58.80.31