Welcome to 16892 Developer Community-Open, Learning,Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

file_put_contents(C:phpStudyPHPTutorialWWWapp untimecache4f819a837d54a6ed09abc77a8560a66f.php): failed to open stream: Permission denied

环境用的是phpstudy,在使用cache缓存数据时,经常报这种错误,但是windows上文件夹不存在权限问题啊,有大佬遇到过么,求指点!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
2.9k views
Welcome To Ask or Share your Answers For Others

1 Answer

这个肯定是权限问题,failed to open stream: Permission denied就是权限不允许的意思,你在缓存的目录文件夹右击,然后属性->安全->编辑,然后改成完全控制试试,应该能解决这个问题

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to 16892 Developer Community-Open, Learning and Share
...