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
Php error not logged in php5-fpm.log file
Moderator: General Moderators
- Christopher
- 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
The first thing to check is if the PHP process has write privileges to that file.
(#10850)