1.下载wampserver64,进行配置:
进行wampserver的配置参考:
使用WampServer搭建本地服务器完整教程 https://www.jianshu.com/p/9d3b66a8da62
WAMPServer的安装及配置-windows安装php环境 https://blog.csdn.net/scliu12345/article/details/79721764
wampServer的MySQL配置 https://blog.csdn.net/object_oriented/article/details/81774779
2.将网站的sql导入到wampServer的phpMyAdmin中
①导入网站sql : php网站如何连接到远程mysql数据库 https://jingyan.baidu.com/album/4f34706e349b6fe387b56d2b.html?picindex=4
②进行网站配置(网站的config文件): PHP之数据库连接配置文件 https://www.cnblogs.com/liumengdie/p/7838697.html
3.进行数据库连接测试
PHP读取配置文件连接MySQL数据库 https://www.cnblogs.com/1906859953Lucas/p/9452496.html
5.wampserver+phpstorm+xdebug环境配置调试php代码
phpstrom+wampserver+xdebug配置 https://www.jianshu.com/p/9abc3535c3d3 (推荐方法)
wampserver+phpstorm+xdebug环境配置调试php代码 https://blog.csdn.net/hzw19920329/article/details/80105890
本地环境phpStorm10+XDebug配置和断点调试 https://www.cnblogs.com/dongruiha/p/6739838.html