ID: 44481 Updated by: [EMAIL PROTECTED] Reported By: bvidinli at gmail dot com -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: Debian 4.0 PHP Version: 5.2.5 New Comment:
Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Don't lie about your versions, you have 5.2.0 and not 5.2.5. That bug you referenced was about 5.2.0, so obviously it's not fixed in 5.2.0. Previous Comments: ------------------------------------------------------------------------ [2008-03-19 15:08:29] bvidinli at gmail dot com 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 this bug report at http://bugs.php.net/?id=44481&edit=1