Welcome! Log In Create A New Profile

Advanced

nginx got an 500 error when uploading files

May 26, 2013 12:06AM
Hi everyone,

I am using nginx 1.4.1 and php-fpm 5.3.25.

Everything is fine except when I uploading files to server.

I have a Discuz! x3(a forum system) and when I post threads, except
attachment everything is fine, but when I add a small files(such as 30k
rar,jpg or else), nginx give me a 500 error.

I checked the nginx/site error, but have no usefule information. nginx only
tell me a got an 500 error, but didn't tell me why.

I tried to increase the fast_cgi parama:

fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_buffer_size 1024k;
fastcgi_buffers 32 64k;
fastcgi_busy_buffers_size 1500k;
fastcgi_temp_file_write_size 1800k;

But still the same.


So, please help me for solve this problem, I wonder where can I got the
error message?

Thank you.


--
from:baalchina
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx got an 500 error when uploading files

baalchina May 26, 2013 12:06AM

Re: nginx got an 500 error when uploading files

Maxim Dounin May 27, 2013 08:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 250
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready