How to Increase the Maximum File Upload Size in WordPress

mediafilesize-180x180Depending on the web hosting company you choose and the package you select, each of you will see maximum file upload limit on your Media Uploader page in WordPress. For some it is as low as 2MB which is clearly not enough for media files like (audio / video). Most pictures are under 2MB, so it is fine for just pictures. In this article, we will show you how to increase the maximum file upload size in WordPress.
Note: This is an intermediate level tutorial. It may not work with some shared hosts in which case you would have to ask your hosting service provider for support. We use HostGator, and they are more than helpful when it comes to issues like this.

 

1: Theme Functions File

There are cases where we have seen that just by adding the following code in the theme function’s file, you can increase the upload size:
1 @ini_set'upload_max_size' '64M' );
2 @ini_set'post_max_size''64M');
3 @ini_set'max_execution_time''300' );

2. Create or Edit an existing….read more

 




  • Leave a Reply

    Your email address will not be published. Required fields are marked *