XDebug无法打开远程调试文件'/var/log/xdebug/xdebug.log'?

3

XDebug无法打开远程调试文件/var/log/xdebug/xdebug.log

我尝试给文件/var/log/xdebug/xdebug.log赋予权限664,但失败了,请问我现在该怎么办?

1个回答

1

我创建了/var/log/xdebug/目录,创建了xdebug.log文件并将权限设置为777,一切都很顺利。

sudo mkdir /var/log/xdebug
sudo chmod 777 /var/log/xdebug/xdebug.log

只有当我对目录进行了chmod操作,而不仅仅是文件时,它才对我起作用。 - Andresa Martins

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接