File upload to php under fastcgi

Hi all,

My phpmyadmin file uploads are collapsing at about 1MB, although I have
altered the php.ini params to allow 8MB file uploads.

I have searched for an nginx config param that would cause this, but
have found nothing.

Is there one? If so what is it?

Thanks

Ian


Ian H.
31 Sheerwater, Northampton NN3 5HU,
Tel: 01604 513875
Preparing eBooks for Kindle and ePub formats to give the best reader
experience.

Hi,

It looks like you have to set client_max_body_size to a higher limit
(e.g. “8M”). That should solve it. See
http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
for documentation re. that parameter.

Regards,
Christian

2012/5/7 Ian H. [email protected]:

Hi,

client_max_body_size 50m; (50M as example)
should fix the Problem.

Regards,
Alex

Am 07.05.2012 10:55, schrieb Ian H.:

Thanks guys,

That param was set to 4m at the http level. I have raised it to 8m, so
it should cope with a 6676kb file.

Regards

Ian

On 07/05/2012 10:14, Christian B. wrote:


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2171 / Virus Database: 2425/4982 - Release Date: 05/06/12


Ian H.
31 Sheerwater, Northampton NN3 5HU,
Tel: 01604 513875
Preparing eBooks for Kindle and ePub formats to give the best reader
experience.