How to update timezonedb in PHP (updating timezones info)?

前端 未结 4 1338
梦谈多话
梦谈多话 2020-12-03 18:07

phpinfo() shows our system to be using \"\"Olson\" Timezone Database Version 2010.3\". I think that is now out of date, but can\'t locate an authoritative locatio

4条回答
  •  情话喂你
    2020-12-03 19:13

    The PECL extension is literally the timezone DB. Every time a new version of the DB is released from here, the extension is recompiled with the updated timezone DB.

    So, you would actually overwrite the old extension with newly recompiled version and restart your web server; assuming PHP is being used as a module.

提交回复
热议问题