Support » How-To and Troubleshooting » [Resolved] WordPress File Upload "Crunching" Solution (Windows Server)

[Resolved] WordPress File Upload "Crunching" Solution (Windows Server)

  • kdatasystems


    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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] WordPress File Upload "Crunching" Solution (Windows Server)’ is closed to new replies.