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