How to change PHP settings like memory_limit and upload size

For hosting customers · Updated 2026-10-29

On this page
  1. Steps
  2. Settings you can change
  3. Ready-made presets
  4. Good to know
  5. Common questions

You do not need a php.ini file: the most common PHP settings can be changed on the PHP page. They apply to all websites of your account.

Steps

  1. Log in to the control panel (https://<server>:2083).
  2. Open PHP in the menu (section Advanced).
  3. Under PHP settings, either click a Ready-made button to fill in values for a common kind of site, or fill in the fields yourself (see the table).
  4. Leave a field empty to use the server default.
  5. Click Save settings.

The new values apply within a few seconds, from the next page load.

Settings you can change

FieldPHP settingAllowed values
Memory limit (MB)memory_limit32–2048
Max upload size (MB)upload_max_filesize1–2048
Max POST size (MB)post_max_size1–2048, at least the max upload size
Max execution time (seconds)max_execution_time10–3600
Max input time (seconds)max_input_time10–3600
Max input varsmax_input_vars1000–100000
Show errors in the pagedisplay_errorsServer default, On, Off
Time zonedate.timezoneany time zone, for example Europe/Berlin

Ready-made presets

ButtonMemoryUpload / POSTExecution / input timeInput vars
WordPress256 MB64 MB120 s3000
WooCommerce / large shop512 MB128 MB300 s10000
Laravel / framework256 MB32 MB60 s3000
Large uploads512 MB1024 MB1800 s—
Development (show errors)512 MB—300 s—

Server defaults empties every field. The first three presets also set Show errors in the page to Off; Development (show errors) sets it to On. A preset only fills the form — click Save settings to apply it.

Good to know

  • Your plan still limits memory. A PHP memory limit above your plan's memory (shown on Resource Usage) does not give the site more memory.
  • Turn off "Show errors in the page" on live sites. Errors are always written to ~/logs/php-errors.log and shown on the Errors page, so visitors never need to see them.
  • php_value lines in .htaccess at the top of a website's folder are also applied for these settings and a few others. Values set on this page win over .htaccess. See which .htaccess rules work.
  • Some settings cannot be changed, for example disable_functions (functions such as exec and shell_exec are turned off) and open_basedir (PHP can only open files in your home folder and /tmp).
  • To change which PHP extensions are installed, ask your hosting provider.

Common questions

Why do I get "Max POST size must be at least the max upload size."?

An upload is sent inside a POST request, so the POST limit must be the same or larger. Raise Max POST size (MB) too.

Can I set different PHP settings for each website?

Not on this page: the settings apply to the whole account. For one website, use php_value lines in that website's .htaccess.

How do I check the values in use?

Create a file info.php containing <?php phpinfo(); in the website's folder, open it in the browser, then delete it again.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.