DOCS

PHP settings (MultiPHP INI Editor)

How to change memory_limit, upload_max_filesize, max_execution_time and other PHP directives.

Aggiornato 05.10.2026. 1 min di lettura

You change PHP's behavior with settings (directives). You most often need to raise them when a file upload fails or a script reports "Allowed memory size exhausted" or a timeout.

MultiPHP INI Editor#

  1. In cPanel open Software → MultiPHP INI Editor.
  2. On the Basic Mode tab choose the domain in Configure PHP INI basic settings.
  3. Change the values, e.g. memory_limit, upload_max_filesize, post_max_size, max_execution_time.
  4. Click Apply.

For more advanced changes use the Editor Mode tab, where you edit the text of the directives directly for the chosen domain.

Commonly used directives#

DirectiveMeaning
memory_limitmaximum memory per script
upload_max_filesizemaximum size of a single uploaded file
post_max_sizemaximum size of the whole request; keep it larger than upload_max_filesize
max_execution_timehow many seconds a script may run
max_input_varsmaximum number of fields in one form (important for large themes and menus)

Checking#

Create a file info.php containing <?php phpinfo(); in public_html, open it in your browser and look for the directive.

You change the PHP version in MultiPHP Manager. Errors after changes are visible in the log: PHP errors and logs.

Questo articolo ti è stato utile?

Articoli correlati

Still need a hand?

Open a ticket and we will reply by email. The whole team sees your request.