An nginx/PHP gotcha

If you are allowing larger-than-default files to be uploaded to an nginx server with PHP FCGI, you need to alter both the php.ini and the nginx.conf.

In particular, for nginx.conf, you need to use the client_max_body_size directive to set the permissible maximum upload size.

This entry was posted in Technical Notes. Bookmark the permalink.