<legend id='imfqO'><style id='imfqO'><dir id='imfqO'><q id='imfqO'></q></dir></style></legend>

      <tfoot id='imfqO'></tfoot>
      • <bdo id='imfqO'></bdo><ul id='imfqO'></ul>

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

      <i id='imfqO'><tr id='imfqO'><dt id='imfqO'><q id='imfqO'><span id='imfqO'><b id='imfqO'><form id='imfqO'><ins id='imfqO'></ins><ul id='imfqO'></ul><sub id='imfqO'></sub></form><legend id='imfqO'></legend><bdo id='imfqO'><pre id='imfqO'><center id='imfqO'></center></pre></bdo></b><th id='imfqO'></th></span></q></dt></tr></i><div id='imfqO'><tfoot id='imfqO'></tfoot><dl id='imfqO'><fieldset id='imfqO'></fieldset></dl></div>
      1. 如何为 XAMPP 更新我的 PHP 版本

        How can I update my version of PHP for XAMPP(如何为 XAMPP 更新我的 PHP 版本)
          <tfoot id='N8Py0'></tfoot>
              <tbody id='N8Py0'></tbody>
            1. <legend id='N8Py0'><style id='N8Py0'><dir id='N8Py0'><q id='N8Py0'></q></dir></style></legend>
                <bdo id='N8Py0'></bdo><ul id='N8Py0'></ul>

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

                2. <small id='N8Py0'></small><noframes id='N8Py0'>

                3. 本文介绍了如何为 XAMPP 更新我的 PHP 版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  可能重复:
                  在 XAMPP for Windows 中升级 PHP?

                  我目前使用的是 XAMPP 版本 1.8.1,它的 PHP 版本是 5.4.3

                  I am currently using XAMPP version 1.8.1 which has the PHPversion 5.4.3

                  我从一天前发布的 PHP 站点版本 5.4.11 中找到了最新版本的 PHP.

                  I have found the latest version of PHP from the PHP site version 5.4.11, released a day ago.

                  现在如果我从 php.net 下载最新的 PHP 版本并将我当前的 PHP 目录替换为最新的,它会正常/立即工作吗?

                  Now if I download the latest PHP version from php.net and replace my current PHP directory with the latest, will it work properly/ straight away?

                  谢谢

                  推荐答案

                  • 下载 PHP 5.4.11 的最新二进制版本(确保获取 .zip包而不是安装程序)
                  • 将其解压缩到目录
                  • 复制 XAMPP 安装目录的 php 子文件夹中的目录内容,覆盖已经存在的文件
                  • 用较新的版本覆盖 apachein 目录中已经存在的文件.
                  • 现在的诀窍:获取名称中带有_2"的文件(例如 php5apache2_2.dll 或 php5apache2_2_filter.dll),将它们复制到 apachein 子目录中并删除"_2" 部分,覆盖现有文件.这是必要的,因为 XAMPP 使用 Apache 版本 2.2,并且带有 2 前缀的文件是为 Apache 2.0 构建的,因此您必须为较新版本(具有不同的插件接口)构建文件并以 XAMPP 期望的文件名重命名它们.
                    • Download the latest binary version of PHP 5.4.11 (make sure to get the .zip package not the installer)
                    • De-archive it to a directory
                    • Copy the contents of the directory in the php subfolder of your XAMPP installation directory, overwriting the files which are already present
                    • Overwrite the files which are already present in the apachein directory with the newer versions.
                    • Now the trick: take the files which have a "_2" in their names (for example php5apache2_2.dll or php5apache2_2_filter.dll), copy them in the apachein subdirectory and remove the "_2" part, overwriting the existing files. This is necessary because by XAMPP uses Apache version 2.2 and the files with the 2 prefix are built for Apache 2.0, so you must take the files build for the newer version (which has a different plugin interface) and rename them in the filenames XAMPP expects.
                    • 希望这会有所帮助.

                      这篇关于如何为 XAMPP 更新我的 PHP 版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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时间戳之间的天数)
                      <tbody id='5utrv'></tbody>

                      <legend id='5utrv'><style id='5utrv'><dir id='5utrv'><q id='5utrv'></q></dir></style></legend>

                          <bdo id='5utrv'></bdo><ul id='5utrv'></ul>

                          <small id='5utrv'></small><noframes id='5utrv'>

                        • <tfoot id='5utrv'></tfoot>

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