• Resolved qsssol

    (@qsssol)


    I changed the php.ini so the file size for upload would be 256 mb (max) but still getting error when I am uploading more than 2 mb files, is there any other step I have to do after changing the php.ini (under upload new media I still see: “Maximum upload file size: 2 MB.”).

    • This topic was modified 2 years, 10 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey ,

    Go to Site Health Info tool to help you debug your WordPress site better. you can find almost all the information about your server and WordPress configuration.

    As both the server and WordPress handle the max upload file size, there are two ways to find its value on this screen.

    First, you can find it listed under the Media Handling dropdown. Here, look for the value of Max size of an uploaded file constant.

    Solution thing
    You need to set the value of upload_max_filesize and post_max_size in your php.ini

    Maximum allowed size for uploaded files.
    upload_max_filesize = 256M
    Must be greater than or equal to upload_max_filesize
    post_max_size = 256M

    Thread Starter qsssol

    (@qsssol)

    This worked, Thank you Sumit.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘large file upload’ is closed to new replies.