My code
mkdir(\"/some/absolute/path\",0777);
and
mkdir(\"relative/path\", 0777);
is not working, safe mode is
I have similar problem and I found out, that I have no free space left on my drive. Check with command df
(on linux) how full is your drive. It is possible that root is allowed to create files and folders in this situation, because he has pre-reserved space. If you run you script from command-line as root
user - there is no error, but if your script is run by apache
, then error occure.