Prev Previous Post   Next Post Next
  #1  
Old 9th March 2013, 22:28
codingideas codingideas is offline
Junior Member
 
Join Date: Jan 2013
Posts: 7
Thanks: 4
Thanked 0 Times in 0 Posts
Default 500 error

Hello,

It seems that nginx reports 500 errors whenever there is a php error. I have set in the Custom php.ini settings for that site and when I look at phpinfo(); I dont see that being over ridden and I keep getting errors.

What do you think could be happening?

Quote:
2013/03/09 23:09:47 [error] 32230#0: *2761 readv() failed (104: Connection reset by peer) while reading upstream, client: ----, server: ----, request: "POST /wp-admin/admin.php?import=woocommerce_csv&step=2&merge=1 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9072", host: "------", referrer: "-----/wp-admin/admin.php?import=woocommerce_csv&step=1&merge=1&_w pnonce=2dc8bdc9a9"

Custom php.ini settings

Quote:
display_errors = on
register_globals = Off
allow_url_fopen = Off
allow_url_include = Off
post_max_size = 256M
upload_max_filesize = 256M
max_execution_time = 600
max_input_time = 600
memory_limit = 256M
mail.add_x_header = Yes

nginx Directives

Quote:
client_max_body_size 256M;
fastcgi_send_timeout 600s;
fastcgi_read_timeout 600s;

location / {
try_files $uri $uri/ /index.php?$args;
}
# Add trailing slash to */wp-admin requests.
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ {
expires max;
log_not_found off;
}

Here is my phpinfo page. http://goo.gl/DA47X - as you can see I put display_errors = on but in the phpinfo - display_errors = off.

Last edited by codingideas; 10th March 2013 at 00:16. Reason: added info
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't send/recieve email postfix/smtpd archbird Installation/Configuration 6 8th November 2010 14:48
ERROR: Could not make ClamAV chua_jose Installation/Configuration 1 3rd January 2008 16:47
log files cruz Technical 3 15th May 2007 14:35
installing Perl module GD - ran into problems Ovidiu Installation/Configuration 6 19th September 2006 09:32
Fresh Install on Debian cksrealm Installation/Configuration 12 22nd February 2006 16:14


All times are GMT +2. The time now is 14:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.