[php-maint] Bug#492025: Bug#492025: Bug#492025: Timezone database is corrupt

Martin Sebald msebald at hot-chilli.net
Wed Jul 23 14:57:26 UTC 2008


Hello Thijs,

how do I check the timezonedb file? I think it should be ok because php
5.2.5-3 runs fine. But I will test the file anyway to be sure.

Is this timezone file new with 5.2.6-2? If yes and if it is located at a
new location php might not have the right to access it on our system. We
are preventing that php scripts can access everything on our servers.

I only tried with php5-cgi under Apache 2.2, so I cannot tell you if
php5-cli is doing the same thing. Do you have an example script for me to
test on command line?

Regards,
Martin


> Mittwoch, 23. Juli 2008, 15:00:21 [GMT +0200 (CEST)]:

> On Wed, July 23, 2008 14:34, Martin Sebald wrote:
>> function option_gmt_offset() {

> I've tried to reproduce this with a PHP file containing just this function
> and a call "var_dump(option_gmt_offset())". Running that file with
> php5-cli just yields the expected int(2).

> So I can't reproduce this here (this is on powerpc). Can you confirm that
> the setup as I described fails for you?

> Just a wild guess, does debsums verify that the timezonedb isn't indeed
> corrupted with you locally?

> Thijs






More information about the pkg-php-maint mailing list