I have file call make.php, and i set the Permissions to:
owner group others
read read read
write write write
execute execute execute
inside the code:
<?php
chmod("/home/virtual/site19/fst/var/www/html/make.php", 0777);
mkdir('what', 0777);
?>
ERROR message:
Warning: chmod failed: Operation not permitted in /home/virtual/site19/fst/var/www/html/make.php on line 5
Warning: MkDir failed (Permission denied) in /home/virtual/site19/fst/var/www/html/make.php on line 7
i set permissions to all, how come it says the permission denied.
how can i fix it?