简体   繁体   English

WAMP Server 3.0.0无法打开apache conf文件

[英]WAMP Server 3.0.0 cannot open apache conf file

I've re-installed WAMP in order to put it into a different directory. 我已经重新安装了WAMP,以便将其放到另一个目录中。 This was mainly so everything is automatically backed up. 这主要是因为所有内容都将自动备份。

Mysql starts ok, but apache fails with the following message from the event viewer: Mysql启动正常,但是apache失败,并显示了事件查看器中的以下消息:

The Apache service named reported the following error: 名为Apache的服务报告了以下错误:

httpd.exe: Could not open configuration file bin/conf/httpd.conf: The system cannot find the path specified. httpd.exe:无法打开配置文件bin / conf / httpd.conf:系统找不到指定的路径。 .

This file is in the correct place (C:\\googledrive\\wamp64\\bin\\apache\\apache2.4.17\\conf) and there isn't any other stray httpd.conf files that it might be picking up on the path or anywhere. 该文件位于正确的位置(C:\\ googledrive \\ wamp64 \\ bin \\ apache \\ apache2.4.17 \\ conf),并且在路径或任何地方都没有其他杂乱的httpd.conf文件。

Any ideas? 有任何想法吗?

This turned out to be a permissions problem. 原来这是一个权限问题。 It seems that the system account didn't have access to the directory containing the config file, but I guess must have had enough access to start up Apache and give that helpful (not) message! 似乎系统帐户没有访问包含配置文件的目录的权限,但是我想必须具有足够的访问权限才能启动Apache并给出有用的(不是)消息!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM