Quick answer
An upload or memory failure can be caused by several different limits. Check the exact error, active PHP configuration, account resources, and application requirements before raising a value. A higher PHP setting does not add CPU, disk, or hosting capacity.
Before you start
Identify the domain, PHP handler/version, file size or operation, and current values. Confirm that the account provides the relevant INI editor or supported configuration method.
What to do
- Read the error and distinguish PHP memory_limit, upload_max_filesize, post_max_size, execution time, web-server limits, and application-specific limits.
- Check the effective settings for the website, not only a CLI command or a different domain in the account.
- Use a conservative value within the hosting plan and application guidance, then change only the needed setting through the supported editor.
- Retry the operation once and inspect resource usage and logs. Prefer optimizing or splitting the task when it exceeds the account's practical resources.
Check the result
Confirm that the intended operation succeeds and that the setting persists without producing new errors. Remove temporary diagnostic files and keep a record of the previous value.
If something does not work
If the provider enforces a server-level limit, ask support rather than repeatedly adding configuration files. Do not set unlimited execution or excessive memory for an untrusted public request.
Related help
- Change a website's PHP version with a tested rollback
- Use website error logs to diagnose a failed request
- Measure website speed before choosing improvements
Official references
Reviewed October 31, 2026. Interfaces, vendor availability, and account features can change. Check your current account before making changes.