FastCGI application not receiving multi-part data
rhodes.daniel at gmail.com
Thu Jul 16 13:24:59 MSD 2009
I'm not familiar with that particular problem, although here are the
settings I use for the fcgi buffers (which has worked with me for
files > 1GB being passed on to PHP):
fastcgi_buffers 4 256k;
There are also other values, like the document body size which should
be set. You can find information about that in the documentation.
On Thu, Jul 16, 2009 at 1:56 AM, gerryw<nginx-forum at nginx.us> wrote:
> Hello All,
>>Is your FastCGI running on a socket or a port? On Linux, it should be
>>a socket (e.g. unix:/tmp/php.sock) , but on FreeBSD it should be a
>>port (e.g. 127.0.0.1:60000). I found this to be the cause of uploads
>>not being passed back through fastcgi one time.
> I was using a port. When I switched to a unix:socket I started getting some data, but it's either garbage or incomplete, because the parser segfaults trying to parse it. Could it be some kind of buffer size issue?
>> Did you remember to add enctype="multipart/form-data"?
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,4091,4099#msg-4099
More information about the nginx