Raise the upload size, memory limit or execution time for your website.
Some websites need different PHP settings, for example to upload larger files or run longer imports. You can change them for each domain.
The settings form
- Sign in to HostPanel and go to Domains → Domain List.
- Click your domain and open the PHP tab.
- In Resource Limits, change the values you need and apply the change.
| Setting | What it controls |
|---|---|
| upload_max_filesize | The largest single file that can be uploaded |
| post_max_size | The largest form submission; keep it equal to or larger than upload_max_filesize |
| memory_limit | How much memory one PHP request may use |
| max_execution_time | How many seconds a PHP request may run |
| max_input_vars | How many form fields can be sent at once; raise it for large menus or option pages |
| max_input_time | How long PHP may spend receiving a request |
| max_file_uploads | How many files can be uploaded in one go |
Some limits, such as memory_limit and max_execution_time, are set by your plan and show a plan-limit badge. To go higher, you need a larger plan.
Other settings with .user.ini
For settings not in the form, such as the time zone, use the .user.ini Editor on the same tab, or create a file called .user.ini in your public_html folder:
date.timezone = Europe/London display_errors = Off
Changes in .user.ini take effect within a few minutes, without a restart. Plan limits cannot be raised this way.