If you have your WordPress site hosted with us and are experiencing issues uploading large files or themes due to PHP size restrictions, follow these steps to increase the limits via your WordPress dashboard.
⚠️ Note: The maximum upload limit that can be set using
.htaccess
is 300MB. If you set values above that, it may show in the media library but the upload will not work.
PHP max input variables: 10000 or higher
PHP post max size: 300M or higher
PHP memory limit: 2GB or higher
PHP time limit: 600 or higher
? Steps to Increase PHP Memory Limits
✅ Step 1: Install a File Manager Plugin
Log into your WordPress dashboard.
Navigate to Plugins > Add New.
Search for "WP File Manager" or any similar file manager plugin.
Click Install and then Activate the plugin.
✅ Step 2: Locate the .htaccess
File
In your WordPress dashboard, go to WP File Manager from the sidebar.
Open the folder named
public_html
(or the root directory where WordPress is installed).Look for the file named
.htaccess
.If it is not visible, enable the "Show Hidden Files" setting in the file manager plugin.
✅ Step 3: Edit the .htaccess
File
Right-click on the
.htaccess
file.Select "Code Editor" or "Edit" (depending on your plugin).
Scroll to the bottom of the file and add the following lines based on your required limits:
Click Save or Update File.
? How to Verify the Change?
Go to Media > Add New in your WordPress dashboard.
Check the upload size mentioned at the bottom of the file upload area.
If it shows the new limit (e.g., 128MB), the update was successful.
? Troubleshooting
Still seeing old limits? Clear your browser and site cache and recheck.
Uploads still fail? Ensure the limit is under 300MB. Anything higher needs to be configured via server-level settings.
Need help? Reach out to our support team.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article