在我新的 64 位 Windows 10 系统上,我试图让 WAMP 服务器运行。然而,没有这样的运气。
[05-Apr-2016 08:43:34 UTC] PHP Warning: chmod(): Permission denied in C:\wamp\scripts\config.inc.php on line 68
[05-Apr-2016 08:43:34 UTC] Impossible to modify the file C:\Windows\system32\drivers\etc\hosts to be writable
[05-Apr-2016 08:43:34 UTC] The file C:\Windows\system32\drivers\etc\hosts is not writable
我指示 Windows 不启动 IIS,并指示我的防病毒软件不锁定主机。两者都没有解决我的问题。我还有哪些其他选择?
最佳答案
您忘记在安装和启动期间向 WAMP 服务器提供管理员权限。使用“以管理员身份运行” 选项进行安装很重要。同时更改文件夹中的写入权限
C:\windows\system32\drivers\etc\host
.
关于mysql - WAMP 服务器在 WIndows 10 上的安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36425065/