Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Installing WordPress
    In reply to: Upload error

    Another possible cause and solution to this problem is the client_max_body_size in the NGINX web server config. I’m running WEMP (Windows, Nginx web server, MySQL, and PHP) on a Vista system and this was the cause of my problem. My original problem was the PHP limit, which I corrected under max_upload and max_post in php.ini. However, after that I was getting an error where it would freeze at “crunching” for any file over 1MB. Nginx places a 1MB limit on all uploads by default and this has to be over-ridden in the Server section of nginx.conf. Insert the line “client_max_body_size 20M;” (don’t forget the semicolon at the end) just under the server_name entry, or anywhere in the server section, and it might help you out. It didn’t work for me if it was nested in the location section.

    Good luck!

Viewing 1 replies (of 1 total)