As most of use know and WordPress is the most popular platform for building websites and blogs. While working in wordpress many times you need to upload the data. This data can be of any type like an application file, an image or any video. The default limit set for such uploads is 8 megabytes. Experienced webmasters who has hosted there websites with large web hosting resources, know very well that many times the data to be uploaded can be larger than 8 megabytes and fortunately one can increase this 8 megabytes limit in wordpress. Many webmaster try to do it by making changes in ‘.htaccess‘ file, but this doesn’t work always. I would like to share following simple method to extend the maximum upload file size limit in wordpress.
- Crate a ‘php.ini’ file and upload it in to ‘/wp-admin’ folder.
- Then add the following code
memory_limit = 28M
upload_max_filesize = 28M
post_max_size = 28M
file_uploads = On
Here I have used 28 megabytes for just a example and you can replace with your desired limit to be set for maximum upload file size limit in wordpress.