直接拷贝为原目录结构后,apache、mysql、php的设置都无需更改,数据也都还在,只需恢复相关服务即可恢复网站访问。需要恢复apache和mysql服务,恢复php的系统path路径。
以管理员身份运行cmd,分别进入mysql和apache的bin目录
安装apache和mysql服务:mysqld --install,httpd -k install
启动\停止服务:net start mysql,net start apache2.4,net stop mysql,net stop apache2.4
删除服务:mysqld --remove,httpd -k uninstall
右击我的电脑-属性-高级-环境变量-系统变量-path,将PHP路径加进去。
- 本文固定链接: https://www.fengshen.cn/2015/01/wamp直接拷贝迁移后恢复网页服务/diyofwind/
- 转载请注明: fengshen 发表于 Dream of Wind | 一梦风神
觉得文章有用,微信打赏一元。
