3 Ways to Fix WordPress File Upload Limit Without Technical Know how

Resize Text:

If you have encountered WordPress upload error message then it means your server limits you to only upload single file up to 2Mb. This is confusing and creates a problem when you try to upload files larger than 2Mb. Here are some easy fixes you can try. Most probably it is server side issue but sometimes WordPress can be the culprit too. So let’s see how you can solve this.

Increase WordPress file upload limit

Follow this procedure step by step and see which step solves your problem.

1. Create WordPress Configuration File

To increase WordPress wordpress file size limit you just have to create php.ini file in your WordPress installation admin folder (Public_html > WordPress > Admin) and after creating file edit it and paste following code:

Upload_max_filesize = 64M post_max_size = 64M max_execution_time = 300

Login to your admin panel and see that it’s working, if it doesn’t work then jump to next step.

2. Use .htaccess

Htaccess file set directory permissions for your WordPress blog. You can increase upload limit using .htaccess. To increase your upload limit through .htaccess go to your WordPress directory and open htaccess file (You might have to enable hidden files option in the setting menu to see the file), enter the following code and save it.

php_value upload_max_filesize 64M php_value post_max_size 64M php_value max_execution_time 300 php_value max_input_time 300

Test again to see if it works or not. If the problem is still there, then follow the last step.

3. Set Server PHP Configuration

If you have purchased shared hosting from any company then ask them to increase upload limit for you and they will probably do that. And If you own server yourself and have access to WHM, then login to WHM and follow below steps:

  1. From WHM search panel, search PHP configuration menu.
  2. Select the PHP version you are primarily using in the select bar.
  3. Find the upload value limit in settings and change it to your desired one.
  4. Restart server and check WordPress now.

Most probably you got your problem solved. If not then let me know and I might be able to help you. Thanks for Reading.

[sociallocker] TIP: I can help you for free, just ask me a question on the forum and I will be happy to answer.[/sociallocker]