How to Increase upload_max_filesize in cPanel Using PHP INI Editor
📂 How to Increase upload_max_filesize
in cPanel Using PHP INI Editor
When uploading large files to your website, you might encounter an error due to the default upload limit in PHP. To resolve this, you need to increase the upload_max_filesize
and post_max_size
in your PHP settings. In cPanel, you can easily modify these values using the MultiPHP INI Editor.
Follow this step-by-step guide to increase the upload limit and avoid file upload restrictions.
✅ Step-by-Step Guide to Increasing upload_max_filesize
Step 1: Log in to Your cPanel
- Open your web browser and go to your cPanel login URL.
- Usually, this is
yourdomain.com/cpanel
- Usually, this is
- Enter your cPanel username and password.
- Click the Log in button.
Step 2: Access the MultiPHP INI Editor
- Once inside cPanel, scroll down to the Software section.
- Click on MultiPHP INI Editor.

Step 3: Select the Domain
- In the MultiPHP INI Editor, you will see a dropdown menu at the top.
- Select the domain for which you want to modify the PHP settings.

Step 4: Modify the upload_max_filesize
and post_max_size
Values
- After selecting the domain, a list of PHP directives will appear.
- Locate the setting
upload_max_filesize
(this controls the maximum file upload size). - Increase its value to your preferred limit, e.g., 256M.
- Locate
post_max_size
(this determines the maximum POST request size, which includes file uploads). - Increase it to be equal to or greater than
upload_max_filesize
.
Example settings:
iniCopyEditupload_max_filesize = 256M
post_max_size = 256M
📌 Important: Make sure post_max_size
is at least as large as upload_max_filesize
, or larger.

Step 5: Save Changes
- Scroll down and click the Apply button.
- The new settings will take effect immediately, but you may need to restart PHP or clear the cache for changes to apply fully.

Step 6: Verify the Changes
🛠 Troubleshooting Tips
🔹 Changes not taking effect?
- Make sure you selected the correct domain in MultiPHP INI Editor.
- Restart PHP or clear your website cache.
🔹 Still unable to upload large files?
- Check and increase
max_execution_time
andmemory_limit
in the same MultiPHP INI Editor. - Modify the
.htaccess
file orwp-config.php
(for WordPress users) if needed.
🎯 Conclusion
By following these steps, you can easily increase the file upload limit in cPanel using the MultiPHP INI Editor. This is crucial for handling larger file uploads, especially when working with media-heavy websites, WordPress, or eCommerce platforms.
If you face any issues, contact us for further assistance. 🚀