Wednesday, 11 May 2016

PHP + LINUX : Change files and folders permission

Note : Put this is directory where you want to change permission for all files and folders.
This will work for sub directories also.


<?php
exec("chmod 755 -R pms",$r,$o);
?>

No comments:

Post a Comment