Adjusting PHP settings for a site
Raise a site's memory limit, upload size, or other PHP setting, and check whether an extension it needs is actually available.
Some applications need particular PHP settings to run properly, a shop might need a larger upload size for product images, and Moodle is well known for needing a high max_input_vars. You can adjust these per site, without affecting any of your other domains.
Steps
- Click Domains & SSL in the sidebar and click Manage next to the domain.
- Find the PHP settings for this site card.
- For each setting listed, choose a value from the dropdown, or leave it on server default to use whatever the server is already set to.
- Click Save PHP settings.
These apply to this one site only, whichever web server it's using. The description beside each setting explains what it controls and, where there's one, the highest value you're allowed to set it to.
Checking whether an extension your site needs is available
Above the PHP settings on the same page, What this site's applications need lists the PHP extensions the application running on this site actually needs (detected automatically, a WordPress site shows what WordPress needs, and a site with nothing recognisable shows nothing). Beside each one is whether the PHP version this site currently runs provides it.
Everything a supported application needs is already installed on this server as standard, so this list is normally all ticks. It's here so that if something isn't working, you can check whether a missing extension is the reason.
An extension marked missing can only be added by your hosting provider, since an extension is shared by every site on the same PHP version, it isn't something one site can switch on for itself. Moving the site to a different PHP version is the other way to change what's available to it, see the article on choosing your PHP version.