在Windows的XAMPP中升级PHP? [英] Upgrading PHP in XAMPP for Windows?

查看:85
本文介绍了在Windows的XAMPP中升级PHP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在Xampp for Windows中升级PHP?我试图从PHP主站点下载最新的PHP版本,但是当我检查(phpinfo)时,仍然可以看到以前的版本仍在使用中.

I would like to know how you upgrade PHP in Xampp for Windows? I tried to download the latest PHP version from the main PHP site but when I check (phpinfo) I still get that the previous version is still in use.

推荐答案

备份htdocs和data文件夹(MySQL文件夹的子文件夹),重新安装升级版并替换这些文件夹.

Take a backup of your htdocs and data folder (subfolder of MySQL folder), reinstall upgraded version and replace those folders.

注意: 如果您更改了配置文件,例如 PHP(php.ini),Apache(httpd.conf)或其他任何文件,请也备份这些文件,并用新安装的版本替换它们.

Note: In case you have changed config files like PHP (php.ini), Apache (httpd.conf) or any other, please take back up of those files as well and replace them with newly installed version.

这篇关于在Windows的XAMPP中升级PHP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆