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

2008-07-23 Thread Thijs Kinkhorst
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




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-07-23 Thread Martin Sebald
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




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]