Answers for "what is the correct way to set permissions on a file in php? chmod("/somedir/somefile", "0755");"

PHP
0

what Permissions do I need for include folder on php

Directories must have execute permissions to be usable;
Usually this is 0755.
PHP scripts run via mod_php are not executed but rather read;
0644 will suffice for this.
Posted by: Guest on May-27-2020

Code answers related to "what is the correct way to set permissions on a file in php? chmod("/somedir/somefile", "0755");"

Browse Popular Code Answers by Language