9:48:49 [Apache] Apache Service detected with wrong path
9:48:49 [Apache] Change XAMPP Apache and Control Panel settings or
9:48:49 [Apache] Uninstall/disable the other service manually first
9:48:49 [Apache] Found Path: "D:\DownloadSoft\Apache\httpd-2.4.41-o111c-x64-vc15-r2\Apache24\bin\httpd.exe" -k runservice
9:48:49 [Apache] Expected Path: "d:\installsoft\xampp\apache\bin\httpd.exe" -k runservice
9:48:49 [Apache] Problem detected!
9:48:49 [Apache] Port 443 in use by ""D:\DownloadSoft\Apache\httpd-2.4.41-o111c-x64-vc15-r2\Apache24\bin\httpd.exe" -k runservice" with PID 464!
9:48:49 [Apache] Apache WILL NOT start without the configured ports free!
9:48:49 [Apache] You need to uninstall/disable/reconfigure the blocking application
9:48:49 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
9:48:49 [mysql] Problem detected!
9:48:49 [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe" --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" MySQL57"!
9:48:49 [mysql] MySQL WILL NOT start without the configured ports free!
9:48:49 [mysql] You need to uninstall/disable/reconfigure the blocking application
9:48:49 [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
9:48:49 [Tomcat] Tomcat Service detected with wrong path
9:48:49 [Tomcat] Change XAMPP Tomcat and Control Panel settings or
9:48:49 [Tomcat] Uninstall/disable the other service manually first
9:48:49 [Tomcat] Found Path: "D:\InstallSoft\Apache Software Foundation\Tomcat 7.0\bin\Tomcat7.exe" //RS//Tomcat7
9:48:49 [Tomcat] Expected Path: d:\installsoft\xampp\tomcat\bin\tomcat7.exe //RS//Tomcat7
9:48:49 [main] Starting Check-Timer
9:48:49 [main] Control Panel Ready
9:49:23 [Apache] Problem detected!
9:49:23 [Apache] Port 443 in use by ""D:\DownloadSoft\Apache\httpd-2.4.41-o111c-x64-vc15-r2\Apache24\bin\httpd.exe" -k runservice" with PID 464!
9:49:23 [Apache] Apache WILL NOT start without the configured ports free!
9:49:23 [Apache] You need to uninstall/disable/reconfigure the blocking application
9:49:23 [Apache] or reconfigure Apache and the Control Panel to listen on a different port

9:48:49 [main] Starting Check-Timer
9:48:49 [main] Control Panel Ready
9:49:23 [Apache] Problem detected!
9:49:23 [Apache] Port 443 in use by ""D:\DownloadSoft\Apache\httpd-2.4.41-o111c-x64-vc15-r2\Apache24\bin\httpd.exe" -k runservice" with PID 464!
9:49:23 [Apache] Apache WILL NOT start without the configured ports free!
9:49:23 [Apache] You need to uninstall/disable/reconfigure the blocking application
9:49:23 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
9:49:23 [Apache] Attempting to start Apache service...
9:53:08 [Apache] Status change detected: running
9:53:34 [Apache] Attempting to stop Apache service...
9:53:38 [Apache] Status change detected: stopped

一开始以为是端口占用的问题,后来发现修改了端口也没有用。
解决方法:
1.首先,进入自己的注册表:win+R打开运行对话框;
2.然后,输入regedit回车,进入注册表--->点击HKEY_LOCAL_MACHINE---->SYSTEM---->currentControlSet---->Services---->找到Apache2.4,你就会在右边看到ImagePath,这时候的路径是以前那个版本的路径,选中ImagePath点击右键修改,把xampp里面提示的Expected Path后面的路径粘贴进去,然后确定:
3.最后,重启xampp就可以了。

参考资料:https://jingyan.baidu.com/article/fd8044fa3611eb5031137a1b.html

XAMPP启动Apache服务时启动失败的更多相关文章

  1. xampp的Apache服务无法启动 Apache的443端口被占用解决方法

    今天在使用本地的XAMPP的时候,发现Apache服务不能正常启动,根据以往的经验,可能是80端口或者443端口被占用导致的,所以对端口占用情况进行排查. 1. 执行xampp/apache/bin中 ...

  2. 启动Tomcat服务时,出现org.apache.catalina.startup.VersionLoggerListener报错

    启动Tomcat服务时,出现org.apache.catalina.startup.VersionLoggerListener报错解决办法:打开Tomcat安装后目录,进入conf文件夹,找到配置文件 ...

  3. 启动apache服务时报错【the requested operation has failed】

    想要解决错误,首先要找到错误的原因. 使用ApacheMonitor.exe启动apache服务看不到任何错误的原因. 找到问题原因:cmd--命令端--切换到apache的bin目录,执行如下命令: ...

  4. Android开发--Apache服务器安装,解决Apache服务无法启动的问题

    昨天学习Android XML解析的时候,想在自己的电脑上搭建一个最简单的Web服务器来存放一段XML文本,然后在Android程序中解析,查找了一些资料后,看到Apache服务器比较容易上手,使用范 ...

  5. Apache服务无法启动的解决方法

    apache服务无法启动的解决方法 在配置apache的时候,把apache安装为服务myweb,用apacheMonitor启动myweb发现无法启动,提示:the requested operat ...

  6. 启动weblogic服务时,还需要输入用户名和密码的解决方法

    当启动weblogic服务时,还需要输入用户名和密码,相当繁琐,如下: 而在生产环境中,一般会要求不要在每次启动时都输入用户名密码, 因此可以通过一些简单的配置达到此目的,通常的做法有两种: 1.修改 ...

  7. MySQL 服务正在启动 .MySQL 服务无法启动。系统出错。发生系统错误 1067。进程意外终止。

    MySQL 服务正在启动 .MySQL 服务无法启动.系统出错.发生系统错误 1067.进程意外终止. 检查了一个晚上才发现是---配置问题 #Path to installation directo ...

  8. MySQL 服务正在启动 MySQL 服务无法启动解决途径

    解决方案: 1.删除自己手动创建的data文件夹: 2.管理员权限CMD的bin目录下,移除已错误安装的mysqld服务: mysqld -remove MySQL出现删除成功! 3.在CMD的bin ...

  9. XAMPP中Apache和Mysql启动失败问题总结

    一.Apache启动失败 xampp启动时显示的错误为: 9:52:41  [Apache]  Attempting to start Apache app... 9:52:41  [Apache]  ...

随机推荐

  1. CSS3 实现别样图型

    1.爱心 利用 div 的正方形和伪类的圆型组合而成 <!DOCTYPE html> <html> <head> <meta charset="UT ...

  2. [转帖]什么是UWB?UWB有什么用?

    什么是UWB?UWB有什么用? https://www.sohu.com/a/224891573_531173 小米碰传 就是 UWB吧? 2018-03-05 17:02 UWB在早期被用来应用在近 ...

  3. Python程序计算ax^2+bx+c=0方程根

    程序用来计算ax^2+bx+c=0的两个根,有些异常暂时无法处理: #!/usr/bin/python # -*- coding: utf-8 -*- #当程序存在中文时,注释表明使用utf-8编码解 ...

  4. protobuf的使用(netty传输多种对象类型)

    重点是: 1.枚举DataType的定义 2.oneof的使用

  5. X86驱动:恢复SSDT内核钩子

    SSDT 中文名称为系统服务描述符表,该表的作用是将Ring3应用层与Ring0内核层,两者的API函数连接起来,起到承上启下的作用,SSDT并不仅仅只包含一个庞大的地址索引表,它还包含着一些其它有用 ...

  6. BSGS和EXBSGS

    也许更好的阅读体验 \(Description\) 给定\(a,b,p\),求一个\(x\)使其满足\(a^x\equiv b\ \left(mod\ p\right)\) \(BSGS\) \(BS ...

  7. javascript Ajax 学习

    前言:这是笔者学习之后自己的理解与整理.如果有错误或者疑问的地方,请大家指正,我会持续更新! AJAX是asynchronousjavascript and XML的简写,就是异步的javascrip ...

  8. PMBOK项目管理的五大过程组和十大知识领域

    PMBOK五大过程组是:启动过程.规划过程.执行过程.监控过程.收尾过程. 各用一句话概括项目管理知识体系五大过程组: 1.启动过程组:作用是设定项目目标,让项目团队有事可做: 2.规划过程组:作用是 ...

  9. ASP.NET Core 2.1 中的 HttpClientFactory (Part 1) HttpClientFactory介绍

    原文:https://www.stevejgordon.co.uk/introduction-to-httpclientfactory-aspnetcore  发表于:2018年1月 ASP.NET ...

  10. 使用angularJS设置复选框的回显状态

    思路分析: 在angularJS中,我们可以使用ng-checked="expression()"来设置复选框的状态:当expression()返回true时,该复选框为选择中状态 ...