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. springboot的mapper.xml在src下问题

    在pom.xml里面的build标签加上resources说明 <resources> <!-- mapper.xml文件在java目录下 --> <resource&g ...

  2. Mac中设置Sublime快速在终端中使用命令打开项目

    工作中用Atom比较多,比较喜欢Atom可以直接在终端中直接输入atom .就能直接打开项目的功能,于是搜索得知sublime text也有这样的功能,下面就简单的配置了一下: sudo ln -s ...

  3. hashCode和identifyHashCode的区别

    API: System类提供一个identifyHashCode(Object o)的方法,该方法返回指定对象的精确hashCode值,也是根据该对象的地址计算得到的HashCode值.当某个类的ha ...

  4. @Scheduled注解各参数详解

    @Scheduled注解各参数详解 @Scheduled注解的使用可以参考这个:https://www.cnblogs.com/mengw/p/11564338.html 参数详解 1. cron 该 ...

  5. 使用Python模块儿csv快速处理csv文件

    代码如下: import csv with open('test.csv',newline='') as f:     reader = csv.reader(f)     for row in re ...

  6. 使用async和await的异步编程

    异步编程模型(TAP)提供了抽象的异步代码.异步代码看起来和同步代码没什么大的区别,无非多个了两个关键字(async和await).但是代码的执行顺序并没看起来那么简单,代码的执行顺序根据cpu资源的 ...

  7. 【转载】C#使用Split函数根据特定分隔符分割字符串

    在C#程序开发过程中,很多时候可能需要将字符串根据特定的分割字符分割成字符或者List集合,例如根据逗号将字符串分割为数组,或者根据竖线将字符串分割成数组,C#中提供了Split()函数来快速将字符串 ...

  8. 前端知识总结--ES6新特性

    ECMAScript 6.0(以下简称 ES6)是 JavaScript 语言的下一代标准,已经在 2015 年 6 月正式发布了.它的目标,是使得 JavaScript 语言可以用来编写复杂的大型应 ...

  9. (转)使用SDWebImage和YYImage下载高分辨率图,导致内存暴增的解决办法

    http://blog.csdn.net/guojiezhi/article/details/52033796

  10. 修改ssh的22端口

    将ssh22端口修改为12345 https://www.cnblogs.com/chen-lhx/p/3974605.html # iptables开放12345端口iptables -I INPU ...