chmod

It can be used to change file permission

Example

<?php

chmod(“/var/www/test/”, 0777);

chmod(“/var/www/test/”, “u+rwx,go+rx”);

?>

Share