XAMPP安装教程及注意事项
1、下载xampp安装包,它是一个后缀名为exe的文件。
官网:https://www.apachefriends.org/zh_cn/index.html
百度网盘地址:https://pan.baidu.com/s/1znQk-nGNEmKhmCYdq7QwAQ
密码:1kkc
2、安装
一路next下去。有空的地方全部打钩就OK!
唯一要注意的是安装目录,建议不要安装在c盘,安装路径,最好放置到 D 盘,不建议不要放到系统盘去

安装完成后,点击finish,出现控制面板

打开浏览器,输入:127.0.0.1,回车,看到如下界面:说明你安装成功了
3、注意事项
安装第一步Warning.
提示信息:Warning Important! Because an activated User Account Control (UAC) on yourystem some functions of XAMPP are possibly restricted With UACplease avoid to install XAMPP to C: \Program Files(x86)(missing writpermissions). Or deactivate UAC with msconfig after this setup

安装error.
提示信息:1.Windows 找不到文件 ‘-n’.请确定文件名是否正确后,再试一次。

2.Problem running post-install step Installation may not complete correctlyInstallation failed (php. exe). Perhaps you have to install the MicrosoftVisual C++ 2008 Redistributable package. After that please execute thesetup xampp bat in the xampp folder manually.
1
1.遇到这两个错误,继续安装,
2.安装完成,检查Apache 、MySQL 是否可以正常启动。通常情况下会提示
故障描述:
12:15:46 [mysql] Attempting to start MySQL app…
12:15:47 [mysql] Status change detected: running
12:15:47 [mysql] Status change detected: stopped
12:15:47 [mysql] Error: MySQL shutdown unexpectedly.
12:15:47 [mysql] This may be due to a blocked port, missing dependencies,
12:15:47 [mysql] improper privileges, a crash, or a shutdown by another method.
12:15:47 [mysql] Press the Logs button to view error logs and check
12:15:47 [mysql] the Windows Event Viewer for more clues
12:15:47 [mysql] If you need more help, copy and post this
12:15:47 [mysql] entire log window on the forums

完成后下载Microsoft Visual C++ 2008 Redistributable Package (x86),可以到这里下载:http://download.csdn.net/detail/hqocshheqing/9479606,然后安装;
双击xampp安装目录下的setup_xampp.bat文件,
最后运行安装目录下的xampp-control.exe文件,此时启动Apache 、 MySQL就可以成功了。
————————————————
版权声明:本文为CSDN博主「@一只小菜鸟」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_37920897/article/details/108129456
转载请注明:XAMPP中文组官网 » XAMPP安装教程及遇到的问题解决方法