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

查看:35
本文介绍了在 XAMPP for Windows 中升级 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.

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

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