Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.