Change upload limits and other PHP settings
Choose the domain first, then adjust only the setting your application requires.
Where Tools → Software → MultiPHP INI Editor → Basic Mode
Before you start
- Record the current values and confirm your hosting resource limits.
- Use the application’s requirements rather than arbitrarily setting everything to an unlimited value.
Steps
-
1
Select the intended domain in the location dropdown. Home Directory has a different scope. Check the displayed path, PHP version and domain before editing.
-
2
For upload limits, review upload_max_filesize and post_max_size together. The total POST limit needs room for the upload and other submitted data. A larger PHP limit does not override application or server limits.
-
3
Use Editor Mode only when you understand the directive syntax. Test the affected function and restore recorded values if the change causes a problem.
-
4
Open MultiPHP INI Editor and choose Basic Mode.
Select a location before its editable settings are shown. -
5
For memory_limit, max_execution_time or max_input_vars, enter the required value in the matching row. Time values are in seconds; sizes such as 128M use PHP size notation.
The domain-specific rows include error logging, execution time and memory settings. -
6
Keep display_errors disabled on a public site; use log_errors and a protected error_log path for diagnosis. Scroll down to Apply and save only after reviewing the changed rows.
Scroll down for post_max_size, upload_max_filesize and the Apply button.
Check it worked
- Check the effective limit in your application, then try a safe test upload or the previously failing action.
- If the value does not change, check the selected domain and which PHP configuration actually controls it.