Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#6101 - Timezone Database is corrupt in PHP
Attached to Project:
Arch Linux
Opened by Alper Kanat (T-u-N-i-X) - Friday, 29 December 2006, 12:03 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 09 February 2007, 12:02 GMT
Opened by Alper Kanat (T-u-N-i-X) - Friday, 29 December 2006, 12:03 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 09 February 2007, 12:02 GMT
|
DetailsI'm working on this error for days right now, talked to so many people in IRC but couldn't find a solution.. I hope that a new revision of PHP will solve it..
When I write <?php echo date("l"); ?> on an empty single PHP file, it prints this error: Fatal error: date() [<a href='function.date'>function.date</a>]: Timezone database is corrupt - this should *never* happen! in /home/tunix/public_html/deneme.php on line 1 |
This task depends upon
Closed by Roman Kyrylych (Romashka)
Thursday, 08 March 2007, 08:07 GMT
Reason for closing: Fixed
Additional comments about closing: No response from reporter. Assuming fixed with the latest PHP and/or glibc.
Thursday, 08 March 2007, 08:07 GMT
Reason for closing: Fixed
Additional comments about closing: No response from reporter. Assuming fixed with the latest PHP and/or glibc.
What version of php do you have? My version is php 5.2.0-1 taken from current repository
[18:57] (tunix@penguix ~)$ locale
LANG=tr_TR.UTF-8
LC_CTYPE="tr_TR.UTF-8"
LC_NUMERIC="tr_TR.UTF-8"
LC_TIME="tr_TR.UTF-8"
LC_COLLATE="tr_TR.UTF-8"
LC_MONETARY="tr_TR.UTF-8"
LC_MESSAGES="tr_TR.UTF-8"
LC_PAPER="tr_TR.UTF-8"
LC_NAME="tr_TR.UTF-8"
LC_ADDRESS="tr_TR.UTF-8"
LC_TELEPHONE="tr_TR.UTF-8"
LC_MEASUREMENT="tr_TR.UTF-8"
LC_IDENTIFICATION="tr_TR.UTF-8"
LC_ALL=tr_TR.UTF-8
--------------
[18:57] (tunix@penguix ~)$ echo $TZ
Europe/Istanbul
--------------
; Defines the default timezone used by the date functions
date.timezone = Europe/Istanbul
If I restart the whole system, the problem doesn't occur.. Is there a solution for that ?
[02:22] (tunix@kulupler ~)$ php deneme.php
Fatal error: date(): Timezone database is corrupt - this should *never* happen! in /home/tunix/deneme.php on line 1
I attach the strace output of the error..
- Updated timezone database to version 2006.16
Maybe this will fix your problem.
Please report if this bug is fixed.