You can run a different PHP version for each domain on your account. Changes apply within a few seconds and need no restart.
Change the PHP version
- In cPanel open Select PHP Version (CloudLinux PHP Selector).
- Pick the version from the dropdown — we recommend the newest version your application supports (PHP 8.3 for current WordPress, Laravel 11+ and most scripts).
- Click Set as current. Extensions such as
imagick,intlorsoapcan be ticked on the same page.
Raise PHP limits
On the same page open the Options tab. Typical values for a busy WordPress or Laravel site:
| Setting | Recommended |
|---|---|
| memory_limit | 512M |
| upload_max_filesize | 128M |
| post_max_size | 128M |
| max_execution_time | 300 |
| max_input_vars | 5000 |
If a site breaks after switching versions, check Errors in cPanel or enable display_errors temporarily. A plugin or theme that is not compatible with the new version is the usual cause; switch back, update it, then try again.