You can choose which version of PHP your websites run, change common PHP settings and turn PHP extensions on or off yourself in cPanel, with the CloudLinux PHP Selector. You can set one version for the whole account, or a different version for each domain.
These settings apply to every domain on the account, except domains you give their own settings (below).
Domains without isolation keep using the account settings.
On the Options tab, you can change common settings, including:
| Setting | What it does |
|---|---|
memory_limit |
Memory each PHP script can use. The default is 128 MB, which is often too low for WordPress or shops |
post_max_size and upload_max_filesize |
The largest form submission and upload |
display_errors |
Shows PHP errors on the page. Turn it on only while fixing a problem |
log_errors |
Writes PHP errors to a log file instead |
On the Extensions tab you can turn PHP extensions (modules) on or off, if your software needs one that is not enabled. Reset PHP Extensions to default undoes your changes.
If you need a different PHP version for one folder rather than a whole domain, open a support ticket.