cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution
New

WordPress file upload limitations

I am unable to upload media to my WordPress site.

 

See status messages in attached pictures.

 

Incomprehensible to me since I have unlimited storage as per my plan

 

How do I resolve this?

2 ACCEPTED SOLUTIONS
Super User II

Since you didn't attached the errors you are receiving I can only surmise it is either file size or memory limitations.   Storage really has nothing to do with uploading.

 

Check the file size -- WordPress limits at 50M

 

Check your wp-config.php file to see what your memory limit is set at and increase it.  If not noted add this line to your wp-config.php file:

 

define( 'WP_MEMORY_LIMIT', '256M' );

 

More info on this file and memory here.

 

HTH! Smiley Wink

Judith
"No pressure, no diamonds." Thomas Carlyle

View solution in original post

7 REPLIES 7
Super User II

Since you didn't attached the errors you are receiving I can only surmise it is either file size or memory limitations.   Storage really has nothing to do with uploading.

 

Check the file size -- WordPress limits at 50M

 

Check your wp-config.php file to see what your memory limit is set at and increase it.  If not noted add this line to your wp-config.php file:

 

define( 'WP_MEMORY_LIMIT', '256M' );

 

More info on this file and memory here.

 

HTH! Smiley Wink

Judith
"No pressure, no diamonds." Thomas Carlyle

View solution in original post

you must be an angel

Can you please explain where to add this line exactly, because i tried it however max file upload is still 2M.

@Sharaiha 

 

The line would be added into your wp-config.php file via FTP.   Make a copy first as a backup!

 

HTH! 😉

Judith
"No pressure, no diamonds." Thomas Carlyle

Please how do I increase the upload limit.

I want to import .xml which is 5MB but maximum upload is set at 2MB

http://prntscr.com/jchemr

 

Thanks

Resolver I

If you look up how to increase your PHP max file size for Godaddy Hosting.Follow these steps.

http://www.ithemesforests.com/how-to-change-your-php-max-file-upload-size-in-godaddy-shared-linux-ho...