[php-maint] Bug#865670: Bug#865670: php7.0-fpm: The timezone Europe/Budapest is not working anymore. Europe/Paris works.

Patrik alabard at gmail.com
Wed Aug 23 09:39:05 UTC 2017


Ciao Ondrej!
Here is the info.

root at server:~# apt-cache policy php7.0-cli
php7.0-cli:
  Installed: 7.0.22-2
  Candidate: 7.0.22-2
  Version table:
 *** 7.0.22-2 500
        500 http://httpredir.debian.org/debian buster/main amd64 Packages
        100 /var/lib/dpkg/status

root at server:~# apt-cache policy tzdata
tzdata:
  Installed: 2017b-2
  Candidate: 2017b-2
  Version table:
 *** 2017b-2 500
        500 http://httpredir.debian.org/debian buster/main amd64 Packages
        100 /var/lib/dpkg/status

root at server:~# debsums -c tzdata
/usr/share/zoneinfo/Europe/Budapest

root at server:~# stat /usr/share/zoneinfo/Europe/Budapest
  File: /usr/share/zoneinfo/Europe/Budapest
  Size: 3565        Blocks: 8          IO Block: 4096   regular file
Device: 801h/2049d  Inode: 2514043     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2017-08-23 10:50:03.955545947 +0200
Modify: 2017-07-07 08:29:30.251678691 +0200
Change: 2017-07-07 08:29:30.251678691 +0200
 Birth: -

root at server:~# sha256sum /usr/share/zoneinfo/Europe/Budapest
0fc4fc483a2ac1ebda708a194da07301a7ef29fefdad1c0d10624849f134155f
/usr/share/zoneinfo/Europe/Budapest

Please check out my config, but this is the default, no changes, except the
MariaDB settings: https://test.patrikx3.com/


*Patrik*
WWW <https://patrikx3.tk> | GitHub <https://github.com/patrikx3/> | NPM
<https://www.npmjs.com/~patrikx3> | Corifeus <https://corifeus.tk> | +36 20
342 8046



On Wed, Aug 23, 2017 at 11:25 AM, Ondřej Surý <ondrej at sury.org> wrote:

> Thanks (also please keep the Cc of Debian BTS).
>
> Few more things, could you send output of:
>
> 0. apt-cache policy php7.0-cli
>
> 1. apt-cache policy tzdata
>
> 2. debsums -c tzdata # you might need install debsums package first
>
> 3. stat /usr/share/zoneinfo/Europe/Budapest
>
> 4. sha256sum /usr/share/zoneinfo/Europe/Budapest
>
> Are any other non-packaged PHP modules loaded in the PHP?
>
> Cheers,
> Ondrej
>
> > On 08/23/2017 08:30 AM, Ondřej Surý wrote:
> > > Control: tags +moreinfo
> > >
> > > Hi Patrik,
> > >
> > > I can't really reproduce the error with any PHP versions I have on my
> > > system. They are at the latest upstream (7.0.22), but this shouldn't
> > > make any difference. However please retest with 7.0.22-2 anyway just to
> > > be sure.
> > >
> > > ondrej at lettie:/tmp$ php5.6 europe-budapest.php
> > > object(DateTime)#1 (3) {
> > >    ["date"]=>
> > >    string(26) "2017-08-23 08:24:46.000000"
> > >    ["timezone_type"]=>
> > >    int(3)
> > >    ["timezone"]=>
> > >    string(15) "Europe/Budapest"
> > > }
> > >
> > > ondrej at lettie:/tmp$ php7.0 europe-budapest.php
> > > object(DateTime)#1 (3) {
> > >    ["date"]=>
> > >    string(26) "2017-08-23 08:24:52.000000"
> > >    ["timezone_type"]=>
> > >    int(3)
> > >    ["timezone"]=>
> > >    string(15) "Europe/Budapest"
> > > }
> > >
> > > ondrej at lettie:/tmp$ php7.1 europe-budapest.php
> > > object(DateTime)#1 (3) {
> > >    ["date"]=>
> > >    string(26) "2017-08-23 08:24:54.849724"
> > >    ["timezone_type"]=>
> > >    int(3)
> > >    ["timezone"]=>
> > >    string(15) "Europe/Budapest"
> > > }
> > >
> > > Could you attach output of
> > >
> > > strace php /tmp/74806.php
> > >
> > > to this bug report?
> > >
> > > Cheers,
> >
> > Email had 1 attachment:
> > + 74806.php.strace
> >   239k (text/plain)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20170823/0540d355/attachment.html>


More information about the pkg-php-maint mailing list