How do I change my PHP upload limit?
This article will explain how you can change the default PHP upload limit for your WordPress site.
The default PHP upload limit for Managed WordPress is 100MB, which can be adjusted to a maximum of 192MB. To change this, you’ll need to edit or add the following values to your PHP initialization file:
file_uploads = On
post_max_size = 50M
upload_max_filesize = 50M
This will allow you to upload files up to 50MB in size. However, it won’t guarantee an upload will complete — only that it won’t be rejected by the server.
Uploads below this limit can still fail due to:
- Upload speed, which can cause timeouts from your PHP script or your browser
- Your account’s resource availability, which can cause large files to fail