The php.ini file controls PHP behavior on your website — memory limits, upload sizes, execution times, and more. You can add or change PHP directives from the control panel.
memory_limit).Restart the PHP container to apply your changes: Developer Tools → PHP → Restart PHP container.
Note: Your website will be briefly offline (a few seconds) while the PHP container restarts.
| Directive | What it controls | Example value |
|---|---|---|
memory_limit |
Maximum memory a PHP script can use. | 256M |
upload_max_filesize |
Maximum file size for uploads. | 64M |
post_max_size |
Maximum size of POST data (should be ≥ upload_max_filesize). | 64M |
max_execution_time |
How long a script can run before timing out (seconds). | 300 |
max_input_vars |
Maximum number of form input variables. | 5000 |