Simplest method to increase PHP upload file size limit
Have you being pissed off severally with the “php upload file size limit” error message?
If you have a WordPress Website you will see a constant need to upload files at one point or the other, especially images and audio files. why there are several ways you can get this done the easiest and fastest way is to get it done from the media library by using the upload parameters. But you sometimes get stalked because of the default PHP upload file size limit.
What do you do?
WordPress is easier to use for beginners due to the fact that here is a plug-able solution (plugins) for just about any problem.
To increase PHP upload file size limit there are several plugins that helps you easily get that done if you don’t want to do it manually which takes more time and can mess up your website if care is not taken.
We recommend using the upload max file size plugin available on the WordPress repository. You can directly install this plugin to your WordPress Website from your dashboard, it will allow you to input a new PHP upload file size limit up to 250 MB or more as you desire.
If after this, you are still getting same error, it means you need to modify your PHP.ini file for your web server, this is a default setting from your service providers. You can easily do this by visiting the root directory of your web server and make a search for the php.ini file in the directory. In some cases you may have to show all hidden files.
once you locate the file you will need to modify the file in a text editor, you can use the one in your cpanel to do that, This is an example code to input:
upload_max_filesize = 25MB
post_max_size = 27MB
memory_limit = 30MB
It is possible your server doesn’t have a php.ini file, don’t worry! All you just g=have to do is to use the right Click of your mouse to select add new File.
Then paste the above threee lines and save it with the name php.ini.
In some cases too, your server provider may name your php.ini file as php5.ini, so you need to double check and don’t this creat any confusion whatsoever.