安全升级 WAMP [英] Upgrade WAMP Safely

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

问题描述

如何升级我的 WAMP 服务器而不会丢失我的配置?我当前的版本是 WAMP 3.0.8,我想升级到 WAMP 3.1.0.

How can I upgrade my WAMP Server WITHOUT LOSING my configuration? My current version is WAMP 3.0.8 and I want to upgrade it to WAMP 3.1.0.

来自

WAMP 3.0.8

  • Apache 2.4.23
  • MySQL 5.7.14
  • PHP 5.6.25、7.0.10

WAMP 3.1.0

  • Apache 2.4.27
  • MySQL 5.7.19
  • PHP 5.6.31、7.0.23、7.1.9

推荐答案

首先从 WAMPServer 3 开始,WAMPServer 代码和 Apache/PHP/MySQL/mariaDB 的版本被分开处理.

First as of WAMPServer 3 the WAMPServer code and the versions of Apache/PHP/MySQL/mariaDB are treated seperately.

因此您可以升级 WAMPServer 版本,而无需更改您的任何内容,例如您的网站代码或您当前使用的 Apache/MySQL/PHP 版本.

So you can upgrade the WAMPServer version without touching anything of yours, like your website code or the versions of Apache/MySQL/PHP you are currently using.

因此,请转至 WAMPServer 备份存储库 并下载 Wampserver 更新 3.1.3(或任何最新版本的 WAMPServer)来自页面标题 Wampserver Updates 的第二部分.

So go to the WAMPServer Backup Repo and download the Wampserver update 3.1.3 (or whatever the latest version of WAMPServer is) from the second section of the page titles Wampserver Updates.

这将升级 WAMPServer 代码,仅此而已.所有代码/数据库都将保持原样.

That will upgrade the WAMPServer code, and nothing else. All code/databases will remain just as they were before.

再次转到 repo,您​​将在该页面上找到每个组件的部分.默认情况下,您只能看到所有可用插件的最新版本,要查看每个组件的所有可用版本,请点击 查看所有可用版本 按钮.

Again go to the repo, you will find a section on that page for each component. By default you only see the latest version of all the available addons, to see all available version of each component, click the See all available versions button.

现在您可以下载您想要添加到 WAMPServer 的任何版本的 Apache/PHP/MySQL.每个 ADDON 组件都会安装(安装时记得以管理员身份运行)组件但不激活它.

Now you can download whichever version of Apache/PHP/MySQL that you want to ADDON to WAMPServer. Each ADDON component will install (remember to Run as Administrator when installing) the component but not activate it.

请记住,WAMPServer 可以为每个组件提供多个版本,您可以在它们之间切换以适应您正在处理的任何项目.

Remember WAMPServer can have multiple versions of each component available and you can switch between them to suit whichever project you are working on.

因此,在安装新版本的组件后,旧版本仍处于活动状态,而新版本可以切换到.

So after installing a new version of a component, you have the old one still active and the new one available to switch to.

例如,参见 左键单击 wampmanager->Apache->version,您将看到 Apache 的所有可用版本.这也适用于 PHP、MySQL 和 mariaDB.

See left click wampmanager->Apache->version for example and you will see all the available versions of Apache. This applies to PHP and MySQL and mariaDB as well.

所以你可以很容易地在兼容版本之间切换.

So you can switch about between compatible version quite easily.

这是唯一需要一些额外工作的组件.在从旧版本的 MySQL 切换到新版本之前,请备份您要迁移到新版本 MySQL 的数据库.

This is the only component that requires a bit of extra work. Before switching from the old version of MySQL to the new one, backup the database(s) you want to move to the new version of MySQL.

然后将 MySQL 的版本切换到新版本.重新创建所有用户帐户,使其与旧帐户匹配,然后将您之前所做的备份恢复到新数据库.

Then switch the version of MySQL to the new one. Recreate all the user accounts so they match the old ones and then restore the backup you made earlier to the new Database.

注意:您没有删除旧版本的 MySQL 服务器,它仍然存在.现在由您决定是卸载旧版本还是将其保留一段时间作为备份.

NOTE: You have not removed the old version of the MySQL server, it is still there. It is now up to you whether you uninstall the old version or keep it around as a backup for a while.

我个人有很多版本的 Apache/MySQL/PHP 可以切换到.因此,例如,如果您要维护多个项目,您可以保留任何组件的所有版本,并且当您必须返回到某个项目时,它的一切都在等着您.

Personally I have many versions of Apache/MySQL/PHP available to switch to. So for example if you have more than one project that you maintain, you can keep all the versions of any component available and when you have to go back to a project, its all there waiting for you.

例如,如果您正在考虑将旧项目升级到新版本的 PHP,这也很棒.您可以在查找不兼容的同时单击菜单在版本之间切换.

It is also great if you are considering upgrading an old project to a new version of PHP for example. You can switch between versions at the click of a menu while looking for incompatibilities.

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

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