我使用Apache24时出现以下情况
C:\Users\YX>httpd.exe -k stop
(OS 5)拒绝访问。 : AH10014: Failed to open the 'Apache2.4' service
后来经过一些建议,发现:
PS C:> httpd.exe -k start
PS C:> httpd.exe -k stop
The 'Apache2.4' service is not started.
日志文件如下:
_Starting the 'Apache2.4' service
[Tue Dec 31 23:19:20.977978 2024] [mpm_winnt:crit] [pid 448:tid 480] (OS 2)系统找不到指定的文件。 : AH00378: Failed to start the 'Apache2.4' service
Starting the 'Apache2.4' service
[Tue Dec 31 23:35:29.430893 2024] [mpm_winnt:crit] [pid 9800:tid 428] (OS 2)系统找不到指定的文件。 : AH00378: Failed to start the 'Apache2.4' service
Starting the 'Apache2.4' service
[Wed Jan 01 00:00:11.567544 2025] [mpm_winnt:crit] [pid 12908:tid 412] (OS 2)系统找不到指定的文件。 : AH00378: Failed to start the 'Apache2.4' service
_