January 12, 2010 05:23PM
proforg Wrote:
-------------------------------------------------------
> Probably you need to examine PHP logs (or even
> spawn-fcgi logs/output
> to stderr) - problem should be clearly visible
> there. There are really
> lots of reason for PHP to die :)

I added the following to my php.ini:
[code]
log_errors = on
error_log = /home/djeyewater/logs/php-errors.log
[/code]

and modified the spawn-fcgi init script like so:
[code]
$FCGI_DAEMON -s $FCGI_SOCKET -C $PHP_FCGI_CHILDREN -P $FCGI_PIDFILE -- $FCGI_PROGRAM -c /home/djeyewater/webapps/php_fcgi/lib/php.ini 2>>/home/djeyewater/logs/php-fcgi-err.log
[/code]
Not sure if that is the correct way to read stderr from spawn-fcgi?

Anyway, after restarting php I got no errors (from the page I'm having problems with) recorded in the php error log or the spawn-fcgi stderr file. Still get the same error in the nginx error log for the site, and obviously the page still isn't working.

Could you advise me on how I'd get the error message to be recorded?

Thanks

Dave
Subject Author Posted

PHP dying

djeyewater January 12, 2010 11:36AM

Re: PHP dying

proforg January 12, 2010 01:50PM

Re: PHP dying

djeyewater January 12, 2010 05:23PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
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