[php-maint] Bug#628079: php5-common: Wrong timezone selected

Craig Small csmall at debian.org
Thu May 26 23:05:24 UTC 2011


Package: php5-common
Version: 5.3.6-11
Severity: normal

Both the apache module and cli PHP show my timezone as
Antartica/Macquarie.  I'm not a penguin and don't live there.
The rest of the system thinks my timezone is Australia/NSW which is
correct.

I cannot find anywhere where it is set as it is commented out in the
php.ini files.  If I set the timezone in my php.ini file then everything
works correctly, but why can't php just use the system timezone like the
rest of the computer does ok?

date
date/time support   enabled
"Olson" Timezone Database Version   0.system
Timezone Database   internal
Default timezone  Antarctica/Macquarie

Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude  35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith  90.583333 90.583333
date.timezone no value  no value


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-common depends on:
ii  libc6                         2.13-4     Embedded GNU C Library: Shared lib
ii  sed                           4.2.1-9    The GNU sed stream editor

Versions of packages php5-common recommends:
ii  php5-suhosin                  0.9.32.1-1 advanced protection module for php

php5-common suggests no packages.

-- no debconf information





More information about the pkg-php-maint mailing list