Media upload – Filesize limit

You might face issues with uploading big media files where smaller files get uploaded with no issue.

One of the possible cause can be the file limit set under php.ini file. PHP has several configuration options to limit resources consumed by scripts. By default, PHP is set to allow uploads of files with a size of 2MB or less. This means that users will not be able to upload a media file with a size greater than 2MB.

To resolve this issue, or to change the upload limit, a user needs to make changes in the php.ini file. Please take the following steps, in order to cross-check the same:

  1. To check the filesize parameter, go to WordPress dashboard > rtMedia > Support > Debug Info screen. I have attached a screenshot of the same.
  2. Cross-check the post_max_size and upload_max_filesize parameter values for your website, from the Debug Info screen.
  3. If the values are set to 100M, you will be able to upload file size less than 100M.
  4. If you want to increase the limit, try updating the value in your php.ini file from your web root directory with the parameter values as per your requirement.
  5. You can run php –ini command if you want to locate your php.ini file on the server.

For example:

upload_max_filesize = 1500M
post_max_size = 1500M

Note: You can change the 1500M to the file size you want it to be.

I hope this helps you.