Win10系统Apache启动失败如何解决?
时间:2023-03-19 04:59:32
最近有刚升级Win10系统的用户反映,不知道什么原因Apache服务器启动一直显示失败,用户各种方法都试了,但都无济于事,这让用户非常的苦恼。那么,Win10系统Apache启动失败要如何解决呢?接下来,我们一起往下看看。
Apache启动失败的三种问题
一、端口占用问题
1、这个是最有可能出现无法启动的问题之一,运行CMD然后执行netstat -aon | findstr :80 ;
2、如果发现端口被多个占用,你可以用Win+R的方式,输入Regedit进入注册表,找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP 修改Start这一项,将其改为0。
二、Apache存放路径问题
1、通过命令行使用打开CMD定位到:[你的Apache路径本人下载的解压文件,然后直接解压路径为D:\httpd-2.4.20-x64-vc14-r2\Apache24]\bin,并在命令行内输入httpd.exe -k install -n “Apache2.4” 回车;
2、发现路径提示有错,有两种解决办法,把Apache24放在在根目录下,或者去配置你的Conf文件。本文以改变路径方式为例,将Apache24存放在D盘根目录下;
3、此时在定位到path:/bin,运行httpd.exe -k install -n “Apache2.4”即可。
三、运行方式问题
1、通过上面第三步我们发现提示的问题告诉我们需要以管理员的身份运行;
2、然后在执行上面第三步,定位到path:/bin,运行httpd.exe -k install -n “Apache2.4”即可。
标签:apache
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
百度输入法怎么用?百度拼音输入法使用教程图文介绍
2022-03-17 04:11:11
![](https://img.aspxhome.com/file/2023/5/a318125_0s.jpg)
Excel如何核对两个表格数据
2022-08-03 01:00:52
![](https://img.aspxhome.com/file/2023/6/55166_0s.png)
电脑桌面鼠标右键个性化设置无法保存更改的解决办法
2022-02-14 17:39:45
![](https://img.aspxhome.com/file/2023/3/a292607_0s.jpg)
windows下Web服务器配置方法详解(图文)
2023-08-07 03:33:29
![](https://img.aspxhome.com/file/2023/29/a258911_0s.jpg)
Word中给文档设置密码的秘诀
2023-05-07 16:20:26
![](https://img.aspxhome.com/file/2023/4/24924_0s.png)
如何判断Win10电脑是否适用于Hyper-V虚拟机?
2022-06-17 10:52:45
![](https://img.aspxhome.com/file/2023/26/a225788_0s.jpg)
从第三页开始编辑Word页码
2022-12-11 00:39:05
![](https://img.aspxhome.com/file/2023/5/24565_0s.jpg)
PS修补工具如何使用?修补工具使用方法
2022-09-01 19:36:17
![](https://img.aspxhome.com/file/2023/7/a330342_0s.jpg)
Excel如何隐藏行号和列标?
2022-06-21 03:21:36
![](https://img.aspxhome.com/file/2023/3/a154013_0s.jpg)
6.3 理解Excel的ADO
2023-06-11 15:10:08
系统显示计算机连接的USB设备不正常怎么解决
2023-10-13 21:31:13
![](https://img.aspxhome.com/file/2023/2/a285265_0s.jpg)
Word2010从指定页设置页码
2023-12-13 11:31:49
![](https://img.aspxhome.com/file/2023/6/21336_0s.jpg)
excel删除页眉页脚的方法图解步骤
2022-02-08 11:22:04
Win7系统网络连接提示DNS未响应的解决方法
2022-07-27 14:17:19
![](https://img.aspxhome.com/file/2023/3/a296255_0s.jpg)
MacBook用法攻略:MacBook Pro如何设置三指拖拽手势?
2022-03-30 23:02:33
![](https://img.aspxhome.com/file/2023/1/a203841_0s.jpeg)
录音怎么转文字?怎么导出?
2023-07-14 19:22:52
![](https://img.aspxhome.com/file/2023/9/a343018_0s.png)
如何导出excel数据的教程
2023-10-17 19:21:08
word中为文档设置艺术型边框的方法
2022-03-31 06:17:29
![](https://img.aspxhome.com/file/2023/1/34221_0s.jpg)
windows8系统笔记本重装系统步骤分解
2022-03-21 22:24:24
![](https://img.aspxhome.com/file/2023/29/a257196_0s.jpg)
win10日历应用解决不显示节日的设置攻略
2023-12-14 14:33:19
![](https://img.aspxhome.com/file/2023/5/a315369_0s.png)