提问者:小点点

Wordpress XAMPP Apache无法启动


我是一个刚开始的学生,我道歉,如果我做了任何错误的帖子,请让我知道,如果我做错了我的帖子。

问题是在XAMPP控制面板中启动apache。 它说试图启动apache服务器,但从未启动。XAMPP的屏幕

我已经卸载了Skype,我也卸载了AVAST,因为我在日志文件中看到了AVAST。

每次我重新启动安装了XAMPP和wordpress的笔记本电脑时,这个问题都会返回。 当我安装它时,一切都很好,直到我重新启动。

我将把apache的日志写在这里,我希望我写对了,它不会变成一堵文字墙,我很抱歉如果我把帖子弄乱了:)

这是访问日志g:

*1--[26/Jun/2020:15:17:35+0200]“Get/wordpress/wordpress/http/1.1”200 423 2“http://localhost/wordpress/internets-historia/”“Mozilla/5.0(Windows NT 10.0;Win64;x64)AppleWebKit/537.36(KHTML,像壁虎一样)Chrome/83.0.4103.97 Safari/537.36”

*1--[26/Jun/2020:15:17:36+0200]“Get/wordpress/wp-content/cache/jch-optimize/css/3b4d09a8edeadd78829ce5122a3160a8.css http/1.1”200 348 5“http://localhost/wordpress/wordpress/”“Mozilla/5.0(Windows NT 10.0;Win64;x64)AppleWebKit/537.36(KHTML,像壁虎)Chrome/83.0.4103.97 Safari/537.36”

*1--[26/Jun/2020:15:22:35+0200]“-”408-“-”“-”10.0.0.15--[27/Jun/2020:03:23:25+0200]“Get/HTTP/1.1”302-“-”“Avast!Antivirus”10.0.0.15--[27/Jun/2020:03:23:25+0200]“Get/Dashboard/HTTP/1.1”200 757 6“-”“Avast!Antivirus”10.0.0.15--[27/Jun/2020:03:23:25+0200]“Get/HTTP/1.1”302-10.0.0.15--[27/Jun/2020:03:23:25

错误日志不包含与问题相关的任何内容。 并且php.error logg不存在。 我的猜测是apache一直都是问题所在,但是我不知道如何解决这个问题,因为我卸载了AVAST,而apache仍然无法启动。

我已经检查了netstats,没有程序在使用端口80。

正如我所说的,我对此是新的,所以如果这篇文章缺少重要的信息,请让我知道我需要包括什么。 此外,我已经搜索和尝试了所有的解决方案,我可以在stackoverflow和一些其他youtube视频等。我也有同样的问题,其他帖子似乎有,它消失后,我卸载Avast:

12:17:01 [Apache] Attempting to start Apache app...
12:17:01 [Apache] Status change detected: running
12:17:02 [Apache] Status change detected: stopped
12:17:02 [Apache] Error: Apache shutdown unexpectedly.
12:17:02 [Apache] This may be due to a blocked port, missing dependencies,
12:17:02 [Apache] improper privileges, a crash, or a shutdown by another method. 
12:17:02 [Apache] Press the Logs button to view error logs and check
12:17:02 [Apache] the Windows Event Viewer for more clues
12:17:02 [Apache] If you need more help, copy and post this
12:17:02 [Apache] entire log window on the forums

共1个答案

匿名用户

httpd.exe: Syntax error on line 74 of c:/xampp/apache/conf/httpd.conf: Cannot load modules/mod_access_compat.so into server: Cant find the module

确保“mod_access_compat.so”存在于C:/xampp/apache/modules文件夹中。 还要确保ServerRoot应该与C:/xampp/apache相同。 有关详细信息,请参阅Apache错误:无法加载mod_access_compat.so。