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'm a developer rather than a sysadmin by trade. I'm working on a drupal site that's been installed with aegir which is clearly dying part-way through loading several drupal pages.

I reckon there's a PHP fatal error which is killing processing.

However, I can't seem to get errors either logging or displaying. I've configured the /etc/php5/fpm/php.ini to set log_errors = On, with error level set to E_ALL and pointing to a valid logfile.

Is there anything else I could have missed in either the nginx.conf or the php.ini? Am I even using the right php.ini? (there are 5 on the system)

My other suspicion is that maybe there are two different web services running, one to provide Aegir and one to provide the hosted Drupal sites.

Any help greatly appreciated, thanks.

share|improve this question
    
Have you enabled Nginx Log to debug mode . Please check below link /etc/nginx/nginx.conf is the file in which you have to make changes nginx.org/en/docs/debugging_log.html –  Abhishek Anand Amralkar Feb 26 '13 at 18:04
    
Nginx debug log has nothing to do with php. –  VBart Feb 26 '13 at 18:11

1 Answer 1

There was a bug https://bugs.php.net/bug.php?id=61045 in php-fpm with error handling.

share|improve this answer

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.