1. <small id='u5ksQ'></small><noframes id='u5ksQ'>

    <tfoot id='u5ksQ'></tfoot><legend id='u5ksQ'><style id='u5ksQ'><dir id='u5ksQ'><q id='u5ksQ'></q></dir></style></legend>
    • <bdo id='u5ksQ'></bdo><ul id='u5ksQ'></ul>

    <i id='u5ksQ'><tr id='u5ksQ'><dt id='u5ksQ'><q id='u5ksQ'><span id='u5ksQ'><b id='u5ksQ'><form id='u5ksQ'><ins id='u5ksQ'></ins><ul id='u5ksQ'></ul><sub id='u5ksQ'></sub></form><legend id='u5ksQ'></legend><bdo id='u5ksQ'><pre id='u5ksQ'><center id='u5ksQ'></center></pre></bdo></b><th id='u5ksQ'></th></span></q></dt></tr></i><div id='u5ksQ'><tfoot id='u5ksQ'></tfoot><dl id='u5ksQ'><fieldset id='u5ksQ'></fieldset></dl></div>
    1. 如何在 PHP 中更新 timezonedb(更新时区信息)?

      How to update timezonedb in PHP (updating timezones info)?(如何在 PHP 中更新 timezonedb(更新时区信息)?)
      <i id='brFQ7'><tr id='brFQ7'><dt id='brFQ7'><q id='brFQ7'><span id='brFQ7'><b id='brFQ7'><form id='brFQ7'><ins id='brFQ7'></ins><ul id='brFQ7'></ul><sub id='brFQ7'></sub></form><legend id='brFQ7'></legend><bdo id='brFQ7'><pre id='brFQ7'><center id='brFQ7'></center></pre></bdo></b><th id='brFQ7'></th></span></q></dt></tr></i><div id='brFQ7'><tfoot id='brFQ7'></tfoot><dl id='brFQ7'><fieldset id='brFQ7'></fieldset></dl></div>
      <legend id='brFQ7'><style id='brFQ7'><dir id='brFQ7'><q id='brFQ7'></q></dir></style></legend>
          <bdo id='brFQ7'></bdo><ul id='brFQ7'></ul>

                <tbody id='brFQ7'></tbody>
              <tfoot id='brFQ7'></tfoot>

              <small id='brFQ7'></small><noframes id='brFQ7'>

              1. 本文介绍了如何在 PHP 中更新 timezonedb(更新时区信息)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                phpinfo() 显示我们的系统正在使用Olson"时区数据库版本 2010.3.我认为现在已经过时了,但找不到可以确认的权威位置.

                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 location which can confirm that.

                (a) 我可以更新整个 PHP 的时区信息吗?(b) 如果是这样,我该如何更新?我在 http://www.electrictoolbox.com/correct-php-timezone/ 它说,在安装了适当的模块后,它说我必须:

                (a) Can I update the timezones info for PHP as a whole? (b) If so, how do I update this? I saw the instructions at http://www.electrictoolbox.com/correct-php-timezone/ where it says that, after installing the appropriate module, it says I have to:

                You should add "extension=timezonedb.so" to php.ini
                

                我们需要这样做吗?PHP 不应该自动使用正确的文件吗?

                Do we need to do that? Shouldn't PHP be automatically using the correct file?

                推荐答案

                据我所知,Timezone DB (TDB) 分布在 PHP 本身中.因此,时区数据库会在一段时间后过时,您应该更新 PHP 或 TDB 以反映 TDB 中的更改.

                as far as I know the Timezone DB (TDB) is distributed within PHP itself. Because of that the timezone DB becomes obsolete after some time and you should either update PHP or the TDB to reflect the changes in TDB.

                有一个 PECL 扩展,它发布了新的 TDB 包,您可以下载并安装它们并在旧的 PHP 安装中使用它们.

                There's a PECL extension which releases new TDB packages which you can download and install and use them in your old PHP installations.

                我不知道有一种方法可以直接在 PHP 中更新 TDB.创建 PECL 扩展以解决此问题.

                I'm not aware there's a way to update TDB directly in PHP. The PECL extension was created to target this issue.

                这篇关于如何在 PHP 中更新 timezonedb(更新时区信息)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                <i id='XOFrw'><tr id='XOFrw'><dt id='XOFrw'><q id='XOFrw'><span id='XOFrw'><b id='XOFrw'><form id='XOFrw'><ins id='XOFrw'></ins><ul id='XOFrw'></ul><sub id='XOFrw'></sub></form><legend id='XOFrw'></legend><bdo id='XOFrw'><pre id='XOFrw'><center id='XOFrw'></center></pre></bdo></b><th id='XOFrw'></th></span></q></dt></tr></i><div id='XOFrw'><tfoot id='XOFrw'></tfoot><dl id='XOFrw'><fieldset id='XOFrw'></fieldset></dl></div>

                      <small id='XOFrw'></small><noframes id='XOFrw'>

                        <bdo id='XOFrw'></bdo><ul id='XOFrw'></ul>
                            <tbody id='XOFrw'></tbody>
                          <tfoot id='XOFrw'></tfoot>

                        • <legend id='XOFrw'><style id='XOFrw'><dir id='XOFrw'><q id='XOFrw'></q></dir></style></legend>