Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jul 11, 2012 11:17 am 
Offline
Senior Newbie

Joined: Wed May 16, 2012 11:19 am
Posts: 19
Website: http://www.creativetags.com
Location: Northern Ireland
I'm running PHP-FPM 5.3.10 with Suhosin Patch 0.9.10 and Nginx 1.2.0 on Ubuntu 12.04

I've configured error logging for php in /etc/php/fpm/pool.d/mysite.conf as:

Code:
php_admin_value[error_log] = fpm-php.mysite.log
php_admin_flag[log_errors] = on


but this file isn't created and if I create it manually it doesn't get errors logged.

I read about a bug here: https://bugs.php.net/bug.php?id=61045 I'm not sure if this is the same thing and I'm not sure how to upgrade because I installed with aptitude install php5-fpm and that package doesn't seem to have been upgraded.

Any suggestions?


Top
   
PostPosted: Wed Jul 11, 2012 12:48 pm 
Offline
Senior Member

Joined: Mon Aug 31, 2009 2:33 pm
Posts: 78
Location: The OC
I believe you need to use the full path for the error_log. The error_log is probably being created, but not where you expect it to be.


Top
   
PostPosted: Wed Jul 11, 2012 5:36 pm 
Offline
Senior Newbie

Joined: Wed May 16, 2012 11:19 am
Posts: 19
Website: http://www.creativetags.com
Location: Northern Ireland
You're right! Absolute path did the trick - amazing!


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


Who is online

Users browsing this forum: No registered users and 3 guests


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