【PHP】failed to open stream:Permission denied in 错误的解决方法
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
今天在安装php项目运行时,出现failed to open stream:Permission denied in 这个错误,原因是因为某个没有某个文件的写的权限,所以在写入文件的时候会报错
因为项目运行在linux下,所以用命令授权即可
chmod -R 777 指定的文件夹或者文件
通过ls -l 即可查看文件权限




A beautiful web dashboard for Linux
最近提交(Master分支:19 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)