#44481 [NEW]: Timezone database is corrupt
| From: | bvidinli at gmail dot com | Date: | Wed, 19 Mar 2008 15:08:29 +0000 |
| Subject: | #44481 [NEW]: Timezone database is corrupt | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-123472@lists.php.net to get a copy of this message | ||
From: bvidinli at gmail dot com
Operating system: Debian 4.0
PHP version: 5.2.5
PHP Bug Type: Date/time related
Bug description: Timezone database is corrupt
Description:
------------
Timezone database is corrupt
this is same bug in http://bugs.php.net/bug.php?id=39993
ns1:/var/www/vhosts/ehcp# TZ=Europe/Istanbul LANG=tr_TR.UTF-8 php -r
'date(l); '
Fatal error: date(): Timezone database is corrupt - this should *never*
happen! in Command line code on line 1
ns1:/var/www/vhosts/ehcp#
some part of phpinfo():
phpinfo()
PHP Version => 5.2.0-8+etch10
System => Linux ns1 2.6.18-5-686 #1 SMP Mon Dec 24 16:41:07 UTC 2007 i686
Build Date => Jan 18 2008 18:48:30
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php5/cli/php.ini
Scan this dir for additional .ini files => /etc/php5/cli/conf.d
additional .ini files parsed => /etc/php5/cli/conf.d/gd.ini,
/etc/php5/cli/conf.d/mysql.ini,
/etc/php5/cli/conf.d/mysqli.ini,
/etc/php5/cli/conf.d/pdo.ini,
/etc/php5/cli/conf.d/pdo_mysql.ini
PHP API => 20041225
PHP Extension => 20060613
Zend Extension => 220060519
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
IPv6 Support => enabled
Registered PHP Streams => zip
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3,
sslv2, tls
Registered Stream Filters => string.rot13, string.toupper, string.tolower,
string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*
Reproduce code:
---------------
TZ=Europe/Istanbul LANG=tr_TR.UTF-8 php -r 'echo date(l); '
Expected result:
----------------
the day, not error..
Actual result:
--------------
Fatal error: date(): Timezone database is corrupt - this should *never*
happen! in Command line code on line 1
--
Edit bug report at http://bugs.php.net/?id=44481&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44481&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44481&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44481&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44481&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=44481&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44481&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44481&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44481&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44481&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44481&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=44481&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=44481&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44481&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44481&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44481&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44481&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44481&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44481&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44481&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44481&r=mysqlcfg