Answer the question
In order to leave comments, you need to log in
Where and what rights must be set to write to the local server?
I perform some functions in php, but the wrong permissions are set that do not allow recording.
move_uploaded_file($_FILES["filename"]["tmp_name"], "/var/www/image ".$_FILES["filename"]["name"]);
mkdir ("/var/www/imagenew", 0777);
Answer the question
In order to leave comments, you need to log in
See what user apache is running under and who owns the directory you are trying to write to. Don't use 777 on directories, use 750 or even 700.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question