• <tfoot id='C19e6'></tfoot>
  • <legend id='C19e6'><style id='C19e6'><dir id='C19e6'><q id='C19e6'></q></dir></style></legend>

      <bdo id='C19e6'></bdo><ul id='C19e6'></ul>

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

      2. <i id='C19e6'><tr id='C19e6'><dt id='C19e6'><q id='C19e6'><span id='C19e6'><b id='C19e6'><form id='C19e6'><ins id='C19e6'></ins><ul id='C19e6'></ul><sub id='C19e6'></sub></form><legend id='C19e6'></legend><bdo id='C19e6'><pre id='C19e6'><center id='C19e6'></center></pre></bdo></b><th id='C19e6'></th></span></q></dt></tr></i><div id='C19e6'><tfoot id='C19e6'></tfoot><dl id='C19e6'><fieldset id='C19e6'></fieldset></dl></div>

        安装 PHP Zip 扩展

        Installing PHP Zip Extension(安装 PHP Zip 扩展)

      3. <small id='CGmq4'></small><noframes id='CGmq4'>

                <bdo id='CGmq4'></bdo><ul id='CGmq4'></ul>

                <tfoot id='CGmq4'></tfoot>
                • <legend id='CGmq4'><style id='CGmq4'><dir id='CGmq4'><q id='CGmq4'></q></dir></style></legend>

                    <tbody id='CGmq4'></tbody>

                  <i id='CGmq4'><tr id='CGmq4'><dt id='CGmq4'><q id='CGmq4'><span id='CGmq4'><b id='CGmq4'><form id='CGmq4'><ins id='CGmq4'></ins><ul id='CGmq4'></ul><sub id='CGmq4'></sub></form><legend id='CGmq4'></legend><bdo id='CGmq4'><pre id='CGmq4'><center id='CGmq4'></center></pre></bdo></b><th id='CGmq4'></th></span></q></dt></tr></i><div id='CGmq4'><tfoot id='CGmq4'></tfoot><dl id='CGmq4'><fieldset id='CGmq4'></fieldset></dl></div>
                • 本文介绍了安装 PHP Zip 扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试安装 PHP Zip 扩展.

                  I'm attempting to install the PHP Zip extension.

                  我的服务器没有外部互联网访问,所以我自己从 PECL 下载了它:http://pecl.php.net/package/zip.我选择了最新的稳定"版本 1.10.2,并将其转移到我的服务器上.

                  My server does not have external internet access, so I downloaded it myself from PECL: http://pecl.php.net/package/zip. I chose 1.10.2, the latest "stable" release, and transferred it to my server.

                  我跑了:

                  pear install zip-1.10.2.tgz
                  

                  并添加了

                  extension=zip.so
                  

                  按照指示转到 php.ini.我可以看到 zip.so 也被创建并放置在正确的 extension_dir 文件夹中.我重新启动了 apache,然后通过运行检查它是否已加载:

                  to php.ini as instructed. I can see that zip.so was created and placed in the right extension_dir folder as well. I restarted apache and then checked to see if it was loaded by running:

                  php -m
                  

                  尽管如此,zip"仍然不在该列表中.

                  Despite all of this, "zip" is still not in that list.

                  我是错过了一步还是做错了什么?我以为这应该很简单,我开始觉得自己很笨,哈哈.

                  Am I missing a step or doing something wrong? I thought this should be really simple, and I'm starting to feel pretty dumb, haha.

                  其他可能很重要的东西:

                  Other probably important stuff:

                  CentOS阿帕奇 2.2.3PHP 5.2.16

                  CentOS Apache 2.2.3 PHP 5.2.16

                  推荐答案

                  您可能有多个 php.ini 文件,一个用于 CLI,一个用于 apache.运行 php --ini 以查看 CLI ini 的位置.

                  You may have several php.ini files, one for CLI and one for apache. Run php --ini to see where the CLI ini location is.

                  这篇关于安装 PHP Zip 扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Converting string to MySQL timestamp format in php(在php中将字符串转换为MySQL时间戳格式)
                  datetime to timestamp(日期时间到时间戳)
                  PHP timestamp date to user timezone(PHP时间戳日期到用户时区)
                  Converting TIMESTAMP to unix time in PHP?(在 PHP 中将 TIMESTAMP 转换为 unix 时间?)
                  Convert ISO 8601 to unixtimestamp(将 ISO 8601 转换为 unixtimestamp)
                  Finding days between 2 unix timestamps in php(在php中查找2个unix时间戳之间的天数)

                    <legend id='Elx63'><style id='Elx63'><dir id='Elx63'><q id='Elx63'></q></dir></style></legend>
                    • <tfoot id='Elx63'></tfoot>

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

                          <bdo id='Elx63'></bdo><ul id='Elx63'></ul>
                          <i id='Elx63'><tr id='Elx63'><dt id='Elx63'><q id='Elx63'><span id='Elx63'><b id='Elx63'><form id='Elx63'><ins id='Elx63'></ins><ul id='Elx63'></ul><sub id='Elx63'></sub></form><legend id='Elx63'></legend><bdo id='Elx63'><pre id='Elx63'><center id='Elx63'></center></pre></bdo></b><th id='Elx63'></th></span></q></dt></tr></i><div id='Elx63'><tfoot id='Elx63'></tfoot><dl id='Elx63'><fieldset id='Elx63'></fieldset></dl></div>

                              <tbody id='Elx63'></tbody>