Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Nginx running php through PHP-FPM. When I do a phpinfo() the site shows up just fine but when i run my php code (which works fine on a VM that I have, this is an amazon EC2 instance) it seg faults. The error message is not very descriptive. Is there a way to find out WHY my code is causing php-fpm to seg fault?

This is the error from the php-fpm error.log

[12-May-2011 21:04:45] WARNING: [pool www] child 2447 exited on signal 11 (SIGSEGV) after 4026.581320 seconds from start [12-May-2011 21:04:45] NOTICE: [pool www] child 2623 started

share|improve this question

1 Answer 1

You could try to find the line of code where php quits using XDebug.

share|improve this answer
1  
Thank you! I never ended up trying this but i appreciate the feedback. As it turns out I dropped the database that we had been using for session handling. Instead of throwing a normal error this caused php-fpm to segfault! I will tuck XDebug away for future use however! –  geekbri May 13 '11 at 21:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.