Vigith Posted September 27, 2007 Share Posted September 27, 2007 Hi... I'm using Apache 2 and PHP 4.3 . I was trying to write to a file inside a directory inside Document root using PHP. But is_writable() is returning false. I've given all permissions to all users for that particular directory. Still its the same result... Any ideas how to make it working??? Thanks in advance... Vigith. Quote Link to comment https://forums.phpfreaks.com/topic/70876-need-readwrite-access-to-a-directory/ Share on other sites More sharing options...
AP81 Posted October 5, 2007 Share Posted October 5, 2007 What about changing the owner of that directory to www-data (or whatever your apache group is)? Quote Link to comment https://forums.phpfreaks.com/topic/70876-need-readwrite-access-to-a-directory/#findComment-362195 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.