Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Dec 10, 2012 3:32 am 
Offline
Newbie

Joined: Mon Dec 10, 2012 3:23 am
Posts: 2
Similar problem to viewtopic.php?t=9125&p=52481 but my paths are absolute already.

http://pastebin.com/gZbRAwRw contains my current php-fpm config. I am having a problem with php-fpm silently failing to load a script, the only reason I know it is failing at all is a 404 error in the nginx debug log, but the paths appear right - if I combine $DOCUMENT_ROOT and $SCRIPT_NAME as given in the debug log, the file exists (it is not chrooted). I can't get anything more out of the nginx log, and despite a directive in the /etc/php-fpm.d/www.conf file for it to log to /var/log/php-fpm/www-error.log - it does not. I know it is using that file because ps aux gets me:

nginx 32436 0.0 5.4 357764 27000 ? S 01:52 0:02 php-fpm: pool www

showing it is using the right pool.

I'm using PHP 5.3.19, which should have the fixes for the bug some reported earlier in the year regarding logging. I have the setting on to log the output of child processes as well. Yet the log either doesn't exist, or if I create it manually it stays at 0 bytes. Any suggestions (for this, or for the nginx 404 thing for that matter) would be much appreciated.


Top
   
PostPosted: Mon Dec 10, 2012 2:57 pm 
Offline
Newbie

Joined: Mon Dec 10, 2012 3:23 am
Posts: 2
For what its worth, I updated to PHP 5.4.9 and it started logging. Still having issues with WordPress and HTTPS but those are for another time. Thanks!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group