开发者

Permission denied for SplFileObject

开发者 https://www.devze.com 2023-04-09 05:18 出处:网络
I\'m running php 5.3.8, on xampp (the 开发者_StackOverflownewest version, 1.7.7 I believe), on Windows7 64bit. When I try to construct a SplFileObject giving it a directory path I get following messag

I'm running php 5.3.8, on xampp (the 开发者_StackOverflownewest version, 1.7.7 I believe), on Windows7 64bit. When I try to construct a SplFileObject giving it a directory path I get following message (both in read, or write mode):

failed to open stream: Permission denied

The folder exists, and I set proper rights (remember I'm on the Windows, not Linux). Can it be a problem with xampp - for example windows don't allow apache process to write anywhere on disk?

0

精彩评论

暂无评论...
验证码 换一张
取 消