XAMPP搭建本地网站

apache启动失败,应该是端口冲突,修改配置文件

XAMPP搭建本地网站

17:43:55  [Apache]     Attempting to start Apache service...
17:43:58  [Apache]     Status change detected: running
17:43:58  [Apache]     Status change detected: stopped
17:43:58  [Apache]     Error: Apache shutdown unexpectedly.
17:43:58  [Apache]     This may be due to a blocked port, missing dependencies, 
17:43:58  [Apache]     improper privileges, a crash, or a shutdown by another method.
17:43:58  [Apache]     Press the Logs button to view error logs and check
17:43:58  [Apache]     the Windows Event Viewer for more clues
17:43:58  [Apache]     If you need more help, copy and post this
17:43:58  [Apache]     entire log window on the forums
17:44:42  [Apache]     Problem detected!
17:44:42  [Apache]     Port 443 in use by ""E:\Program Files (x86)\VMware\VMware Workstation\vmware-hostd.exe" -u "C:\ProgramData\VMware\hostd\config.xml"" with PID 8856!
17:44:42  [Apache]     Apache WILL NOT start without the configured ports free!
17:44:42  [Apache]     You need to uninstall/disable/reconfigure the blocking application
17:44:42  [Apache]     or reconfigure Apache and the Control Panel to listen on a different port

端口被占用

XAMPP搭建本地网站

XAMPP搭建本地网站

 杀掉被占用端口

XAMPP搭建本地网站

XAMPP搭建本地网站

XAMPP搭建本地网站

重新启动

XAMPP搭建本地网站

 服务器部署成功XAMPP搭建本地网站

 点击explorer进入xampp根目录

XAMPP搭建本地网站

服务器默认的网站路径是htdocs文件夹的路径,将网站放在此路劲下即可

XAMPP搭建本地网站

相关推荐