在 XAMPP 1.8.3 windows 7 安装上升级 PHP

2022-01-14 00:00:00 xampp php

我的 Windows 7 机器上安装了 XAMPP 1.8.3.其中包括 PHP 5.5.6.我想将 PHP 升级到 5.6 版本.是否可以在保持 XAMPP 捆绑其他模块不变的同时进行升级(Apache、MySQL).任何人都可以建议一种在 Windows 7 上进行升级的方法.

I have XAMPP 1.8.3 installed on my windows 7 machine. Which include PHP 5.5.6. I want to upgrade the PHP to 5.6 version. Is it possible to do the upgrade while keeping the XAMPP bundle other module as it is (Apache, MySQL). Can any one suggest a way to do upgrade on windows 7.

推荐答案

  • 从以下网址下载包:http://windows.php.net/download/.确保线程安全"拉链下载了大约 20MB 的文件.
  • 提取文件夹并将其重命名为php".
  • 将现有的php"文件夹重命名为某个名称并放置新的与文件夹名称php"捆绑在一起.
  • 然后重启apache服务器.它只会加载新的 PHP版本.
    • Download the package from following url: http://windows.php.net/download/. Make sure the "Thread Safe" zip file with around 20MB was downloaded.
    • Extract and rename the folder to "php".
    • Rename the existing "php" folder to something and place the new bundle with folder name "php".
    • Then restart the apache server. It will simply load the new PHP version.

相关文章