how to enable chmod() function in php? 2025-04-14 how do I enable chmod() function in php so that one will be able to change file permissions with a script on a webpage. (is there any security risk with this?)