PHP chmod permission denied -
i using mac , try unlink file via php:
$old_path = 'tmp/table.csv'; if(file_exists($old_path)){ chmod($old_path, 777); unlink($old_path); }
it looks chmod permission denied. searched online no ideas. says chown, how work?
the user executing command has no rights execute chmod command.
Comments
Post a Comment