Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error logging with apache/php-fpm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
oliwel
n00b
n00b


Joined: 09 Oct 2004
Posts: 70

PostPosted: Thu Jul 18, 2013 2:06 pm    Post subject: Error logging with apache/php-fpm Reply with quote

Hi Folks,

perhaps I am simply too stupid but I am trying to get this running now for days ;(

I am running php-fpm (5.3.27) with apache (2.2.23) and I am unable to get php error logging to work.

Simple test script:

Code:

<?php nonexistant_call(); ?>


With display_errors set to on I get a proper error message on the screen, but nothing in the logs. As my prod systems have display_errors off I am unable to check for any errors, I just get a blank page. From time to time it looks like the whole cgi process chockes and the apache serves a "500 internal server error", in the apache logs I see a "Connection reset by peer: FastCGI: failed to read from backend server".

Anybody can point me to the right solution?

Oliver
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum