Generally, the file upload size limit in WordPress is 20MB and it’s not sufficient if you want to upload big audio or video files into your WordPress pages or posts. Recently I needed to upload a 64MB mp3 file on one of my WordPress pages so I started looking for solutions. The solutions available on most of other sites either don’t work anymore or need coding skills. Here in this post I will let you know a very simple way to increase the file upload size in WordPress. You just need to know how to use Notepad and how to upload a file to the WordPress installation directory on your host through FTP or cPanel.
Open Notepad and Copy-paste the following code into it:
memory_limit = 256M
upload_max_filesize = 256M
post_max_size = 256M
file_uploads = On
Change the Size (256MB here) according to your requirement. Then save the file as PHP.INI and upload it to the wp-admin folder of your WordPress installation directory on your host through FTP or cPanel. If you don’t know how to upload the php.ini file to your site directory, talk to your web host. They will do it for you. That’s it. Your WordPress file upload size is increased.