php5.3.3 date.timezone again php.ini directive not taken into account

后端 未结 2 2025
南方客
南方客 2020-12-10 16:58

System: Debian Lenny/Apache 2.2/php5.3.3 compiled from sources

I\'m strugglying with the date.timezone within php.ini.

I can define the TZ using in the php s

2条回答
  •  失恋的感觉
    2020-12-10 17:29

    I think you're missing the quotes:

    date.timezone = "Europe/Berlin"
    

    The value is a string according to: ini.date.timezone on PHP.net which must be wrapped in quotes.

提交回复
热议问题