How to Increase WordPress Upload File Size Limit
Guide for safely increasing WordPress file upload size limits using cPanel's CloudLinux PHP Selector, with best practices and troubleshooting tips.
How to Increase WordPress Upload File Size Limit
Overview
WordPress has default file upload size limits that may prevent uploading large files like high-resolution images, videos, or plugins. This guide explains how to safely increase these limits using cPanel's CloudLinux PHP Selector.
Prerequisites
- โ๏ธ cPanel account access
- โ๏ธ CloudLinux PHP Selector (included with all WPCloud plans)
Step-by-Step Instructions
1. Access PHP Selector
- Log in to cPanel
- Scroll to "SOFTWARE" section
- Click "Select PHP Version"
2. Modify Upload Settings
- Click the "Options" tab
- Locate these critical settings:
upload_max_filesize
: Maximum file upload sizepost_max_size
: Maximum POST request size
3. Adjust Values
- Check the boxes next to both settings
- Set new values (example: "64M" for 64 MB)
- Ensure
post_max_size
is equal to or larger thanupload_max_filesize
๐ก Tip: Common values:
Important Notes
Best Practices
- โ๏ธ Only increase to necessary size
- โ๏ธ Consider server resources
- โ๏ธ Monitor available disk space
Common Issues
- โ ๏ธ Plugin-specific limitations
- โ ๏ธ Theme upload restrictions
- โ ๏ธ Server-side timeouts
Troubleshooting
If Upload Still Fails
- Check
.htaccess
file for conflicting directives
- Verify plugin upload settings
- Ensure sufficient disk space
Common Error Messages
- "The uploaded file exceeds the upload_max_filesize directive"
- "The uploaded file exceeds the post_max_size directive"
Additional Considerations
Performance Impact
- Larger uploads use more server resources
- May affect concurrent uploads
- Consider using media optimization
Need Help?
Contact our support team:
- Create ticket: support.wpcloud.ca
- Email: support@wpcloud.ca
Did this answer your question?
๐
๐
๐คฉ
Last updated on November 20, 2024