PHP memory and upload limits Print

  • php, memory, upload, limits
  • 0

Quick answer

PHP memory and upload limits control how much work a website request can perform. Raising a setting does not add hosting CPU, disk space or account capacity.

Check and change a limit

  1. Record the domain, PHP version, failed action, file size and exact error.
  2. Check the website's active settings: memory_limit, upload_max_filesize, post_max_size and execution time. Command-line PHP or another domain may use different settings.
  3. Use the supported PHP configuration editor, if your plan provides it. Change only the required value within the plan and application's limits. Keep the old value for rollback.
  4. Retry once. Check logs, resource usage and whether the value persists. Remove temporary diagnostic files.

If the error continues

The application or server may enforce another limit. Optimize or split a large task, or ask support to check the restriction. Do not use unlimited execution or excessive memory to bypass an error.

Related help

Official references

Reviewed October 31, 2026. Features vary by service and software version.


Was this answer helpful?

« Back