How to Increase the PHP Upload Limit for Joomla

To increase Joomla's PHP upload ceiling safely, change the PHP configuration used by the website—not a different CLI configuration—and keep post_max_size above upload_max_filesize. Then verify the effective values and test the exact Joomla upload workflow.

Check the current web PHP values

  1. Open Joomla's System Information and inspect the PHP information available for the web request, or use your host's PHP settings screen.
  2. Record upload_max_filesize and post_max_size.
  3. Confirm which PHP version and handler the site is actually using.
  4. Do not rely only on php -i from SSH; CLI and web PHP can use different configuration files.

Choose a practical target

Set upload_max_filesize high enough for the largest legitimate file the Joomla workflow must accept. Set post_max_size higher because it covers the complete POST body, not just the file. For example, if you need to accept files up to 64 MB, a larger POST ceiling leaves room for request overhead and other form fields.

Avoid unlimited or extremely large values without a real operational need. Larger accepted requests consume bandwidth, temporary storage, and processing time.

Change PHP through the supported configuration layer

Use the method supported by the server or hosting provider. Depending on the environment, that may be a hosting control panel, php.ini, .user.ini, a PHP-FPM pool, or server-level configuration. Managed hosts may enforce a ceiling that local files cannot override.

Do not add random PHP directives to Joomla's .htaccess. Whether an Apache directive works depends on the PHP handler, and an unsupported directive can cause a server error instead of changing the limit.

Reload and verify the effective values

PHP-FPM or web-server configuration changes may require a pool reload or service restart; shared-hosting panels often handle that automatically. Reopen the web PHP information after the change. The edit is not proven until the Joomla web runtime reports the new values.

Check the limits outside PHP

A higher PHP ceiling does not override a lower Joomla Media or extension limit, a web-server body-size restriction, a CDN/WAF rule, or a hosting quota. If the effective PHP values are correct but the same file still fails, use the HTTP status and server logs to identify the next limiting layer.

Test the Joomla workflow and keep it secure

Upload a known-safe file near the new target size through the same Joomla feature that previously failed. Confirm that it completes, inspect logs for warnings, and verify the resulting file is intact. Keep MIME, extension, authorization, and storage controls in place; increasing the byte limit should not turn the upload endpoint into unrestricted file ingestion.


Need More Help with Joomla?

Still having trouble? Open a support ticket with QuantaCade Support and we'll be happy to help where we can.

Support priority is given to QuantaCade products, services, and customers. However, we're also happy to assist fellow Joomla users with general Joomla questions and troubleshooting when possible.

QuantaCade is an independent Joomla extension developer and is not official Joomla support. Some issues involving third-party extensions, hosting environments, server configurations, or other systems outside our development control may be beyond what we're able to resolve.

Open a Support Ticket