[resolved] WordPress File Upload "Crunching" Solution (Windows Server) (2 posts)

  1. kdatasystems
    Posted 1 year ago #

    I recently experienced the WordPress Media Library "crunching" problem that has already been discussed and addressed many times on this forum. The typical solution is to increase the "post_max_size" and "upload_max_filesize" found in the site's PHP.ini file, but in my case I had to take things even one step further. My installation is running on a Windows Server and by default IIS7 also has a security limitation on the file upload size (around 28.6 MB). To correct the problem, I added a request filter to my website's web.config file and specified the maxAllowedContentLength value (in bytes). For example:

          <requestLimits maxAllowedContentLength="157286400" />

    I didn't see this solution posted in the forum so I submitted it hoping to help someone else.

  2. kdatasystems
    Posted 1 year ago #

    Solution posted above.

Topic Closed

This topic has been closed to new replies.

About this Topic