Re: [bang-phpug] warning: mkdir() failed (Permission denied)
- Hi ashok,
Fisrt u should give the write permission for the
A is a parent folder
B is a folder (Child of A)
For this structure u must give write permission to A
then u can create one folder with inside A .This is
error may occur if using linux only.
Plz do like this i am sure ur problem will clear
--- ashok kumar <vak108@...> wrote:
> Hi,With Regards,
> Iam having PHP working on Apache in Linux. From
> PHP Iam trying to create a directory using
> mkdir("/etc/owndir"); but iam getting the error
> warning: mkdir() failed
> (Permission denied) in /var/www/html/dircheck.php
> on line 4.
> please do help me in creating a directory.
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail
> [Non-text portions of this message have been
Yahoo! India Answers: Share what you know. Learn something new