码迷,mamicode.com
首页 > Web开发 > 详细

XAMPP搭建本地网站

时间:2019-12-27 19:30:58      阅读:149      评论:0      收藏:0      [点我收藏+]

标签: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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!