file_put_contents(C:\phpStudy\PHPTutorial\WWW\app\runtime\cache\4f\819a837d54a6ed09abc77a8560a66f.php): failed to open stream: Permission denied
环境用的是phpstudy,在使用cache缓存数据时,经常报这种错误,但是windows上文件夹不存在权限问题啊,有大佬遇到过么,求指点!
file_put_contents(C:\phpStudy\PHPTutorial\WWW\app\runtime\cache\4f\819a837d54a6ed09abc77a8560a66f.php): failed to open stream: Permission denied
环境用的是phpstudy,在使用cache缓存数据时,经常报这种错误,但是windows上文件夹不存在权限问题啊,有大佬遇到过么,求指点!
2 回答1.4k 阅读✓ 已解决
1 回答1.1k 阅读✓ 已解决
2 回答858 阅读✓ 已解决
1 回答1k 阅读✓ 已解决
2 回答915 阅读
1 回答899 阅读
1 回答828 阅读
这个肯定是权限问题,
failed to open stream: Permission denied
就是权限不允许的意思,你在缓存的目录文件夹右击,然后属性->安全->编辑,然后改成完全控制试试,应该能解决这个问题