This isn’t really an Nginx problem, but hopefully someone can help me.
I’m running PHP as fcgi using spawn-fcgi.
I have a PHP script that resizes an image, but when I try to access this
page, it seems to get partway through processing the page, then the PHP
process handling the request dies. I receive in the browser the output
of the script as far as it got, and in the error log I get:
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
On Tue, Jan 12, 2010 at 11:36 PM, djeyewater [email protected]
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:
log_errors = on
error_log = /home/djeyewater/logs/php-errors.log
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
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.