I'm trying to do a mkdir(), but I'm getting permission denied error,
even though I've set the mode to 0777: mkdir($full_path, 0777). I
also couldn't do a chmod successfully.
The code is something like:
mkdir("/home/httpd/vhosts/website.com/httpdocs/dev1/test_folder1",
0777);
What's the problem?