XAMPP搭建本地网站

2021-05-05 11:29

阅读:753

标签:logs   explore   check   cat   部署   and   std   configure   pre   

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

技术图片

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

端口被占用

技术图片

 

 

技术图片

 

 杀掉被占用端口

技术图片

技术图片

 

技术图片

 

重新启动

技术图片

 

 服务器部署成功技术图片

 

 点击explorer进入xampp根目录

技术图片

 

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

技术图片

XAMPP搭建本地网站

标签:logs   explore   check   cat   部署   and   std   configure   pre   

原文地址:https://www.cnblogs.com/dnoir/p/12108976.html


评论


亲,登录后才可以留言!