Like Linux, PHP has a chmod() command that can be invoked to change file permissions.
See the documentation here: http://php.net/manual/en/function.chmod.php
For a default setting you might try what Patrick Fisher states here: Setting the umask of the Apache user
[root ~]$ echo "umask 000" >> /etc/sysconfig/httpd
[root ~]$ service httpd restart