You can change the PHP version your website uses yourself in your Plesk panel. Current PHP versions are both faster and more secure. PHP 8.1 or later is recommended for WordPress.
- Back up your site.
- Old themes and plugins may cause errors on a newer PHP version; update them first.
Step by step
- Log in to your Plesk panel at
https://yourdomain.com:8443or from the service page in your client area. - On the Websites & Domains page, click the PHP (or PHP Settings) link under your domain.
- Choose the version you want from the PHP version list.
- Click OK. The change takes effect immediately.
Commonly changed PHP settings
| Setting | What it does |
|---|---|
memory_limit | Memory PHP can use. 256M is recommended for WordPress. |
upload_max_filesize, post_max_size | Largest file size that can be uploaded |
max_execution_time | Longest time a process may run (seconds) |
If your site does not open after the change, you can switch back to the old version on the same screen.
