PHP runs your website's code (WordPress, Laravel, most CMSs). Newer versions are faster and safer, but old plugins or scripts may need an older one.
Change it
- Open your hosting service in the client area and choose the PHP tab.
- Each website on the account is listed with its own PHP version. Choose the version you want next to the domain and click Apply.
The change takes effect within a minute, and only for that domain, so you can test one site at a time.
Which version should I choose?
- WordPress: the newest version your theme and plugins support. WordPress itself shows a notice under Tools › Site Health if your PHP is out of date.
- Other software: check its documentation for the versions it supports.
Avoid versions that no longer receive security updates.
After changing
Open your website and click around: the home page, a contact form, the shop checkout. If something breaks (a blank page or an error), switch back to the previous version, then update the plugin or script that failed before trying again.