Procédure
On an ISPConfig VPS, each site has its own PHP version, and you change it yourself from ISPConfig: Sites menu, site details, Domain tab, PHP Version field. The versions offered in this field are those declared on your server: they depend on the date your VPS was installed and on the updates applied since then. The change takes effect after about a minute.
PHP is a programming language that integrates into HTML pages. It is used in particular to automate repetitive tasks, most often by communicating with a database. CMS platforms such as WordPress, Joomla or PrestaShop, as well as e-mail contact forms, need PHP to work.
In your LWS customer area, open the list of your servers, click Manage opposite your VPS, then Administration Panel. Log in with your ISPConfig credentials. Details are in How do I access ISPConfig on my VPS dedicated server?.
In the top menu, click Sites, then click the site to modify in the list.
In the Domain tab of the site details, open the PHP Version field list (Version de PHP if your ISPConfig is displayed in French) and choose the desired version.
Click Save at the bottom of the details page. The new version becomes active on your site after about a minute.
This method works on a managed VPS as well as on a root-access VPS. It changes only the selected site: repeat it for each affected site.
There is no single list valid for all VPSs: the PHP Version field list shows the versions available on your server. To view the versions installed on your VPS, including the Debian version, follow How do I find out the versions of the software installed on my ISPConfig VPS?.
Wait a minute after saving, then display your site and check that it works normally, including pages and forms. To confirm the version your site is really using, upload a small test file as explained in the “Check the PHP version actually used by a site” section of the help How do I find out the versions of the software installed on my ISPConfig VPS?, then delete it.
It takes about one minute for the chosen PHP version to be activated on your site.
Wait one minute after saving the change in ISPConfig: while the new version is being activated, the site may display this error. If the site still does not work afterwards, put back the version you noted in the PHP Version field, then have the site’s compatibility with the new version checked by the person who developed it.
The list shows only the versions declared in ISPConfig, and only an administrator can add one. On a managed VPS, open a ticket from your customer area, specifying the site and the desired version: support will check whether it can be added. On a root-access VPS, you administer the server yourself: installing a new PHP version is your responsibility, and it is declared in ISPConfig with the administrator account, System menu, then Additional PHP Versions. To find out which case applies to you, see Managed VPS, root access or VPS KVM: who manages what?.
No. Those lists described older installations and no longer match the versions actually available on VPSs. Debian 10 and earlier versions no longer receive security fixes either. The versions available on your VPS can be seen in the PHP Version field or with the methods in the help How do I find out the versions of the software installed on my ISPConfig VPS?.
Léo, our assistant, answers you straight away based on our articles.
Our technical support team handles your request by ticket, from your customer area.
Open a ticket