Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The PHP-FPM logs have different timezone. The time in the PHP-FPM logs is one hour behind the system time. Is there any option to configure time/zone in the PHP-FPM?

System: CentOS

# date
Mon Jul  9 17:33:10 BST 2012

# cat /etc/sysconfig/clock 
ZONE="Europe/London"

# grep "date.timezone =" /etc/php.ini 
date.timezone = Europe/London

# tail /var/log/php-fpm/error.log
[09-Jul-2012 16:21:58 UTC] PHP Notice: ...
share|improve this question
up vote 2 down vote accepted

PHP currently only logs in UTC. This is a bug.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.