I just don't get why it doesn't log the remote IP in the
error_log.... Apache logs it fine and the old php-cgi method we used
to use worked fine.
Is there a way I could tell PHP-FPM to use syslog or something so my
logs will show up correctly?
Using php-fpm my error_log looks like:
[22-May-2012 14:43:06 UTC] PHP Fatal error:
Using php-cgi my error_log looked like:
[Tue May 22 07:35:44 2012] [error] [client 206.246.88.54] PHP Warning:
Notice the PHP-FPM uses UTC timezone (I have EST set in my php.ini)...
any ideas on how I can make PHP-FPM log like everything used to?
It should just work because php $_SERVER['REMOTE_ADDR'] returns the
correct remote IP when you use that in a PHP-FPM script.
Thanks
On May 22, 7:34 am, Przemysław Pawliczuk <
p.pawlic...@gmail.com>
wrote: