Php error not logged in php5-fpm.log file

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Forum Newbie
Posts: 1
Joined: Mon Dec 29, 2014 12:32 am

Php error not logged in php5-fpm.log file

Post by ronykb »

I have installed PHP 5.5.9-1ubuntu4.5 in one of our Ubuntu 14.04.1 LTS server. We are using Nginx and MySQL also in this box

Deployed our application in this box and it is working fine. I noticed that php error log file (/var/log/php5-fpm.log) not updated with php errors in this box. I am facing this same issues in our other two boxes with this same config I specified earlier.

I double checked the php.ini file whether error logging is enabled or not. But it is enabled in the PHP.ini. but not logged php errors on it.

I can see only this kind of error messages in this log file, when i restarted php5-fpm service in this box
[29-Dec-2014 00:39:55] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful
User avatar
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Php error not logged in php5-fpm.log file

Post by Christopher »

The first thing to check is if the PHP process has write privileges to that file.
Post Reply