Breno Cardoso Perucchi writes: > HI, > I am trying to use a script php with the command: > system("mkdir /home/hosting/test"); > but the PERMISSION IS DENIED and I am the root on my server. > > How I change the user to root? >
If you /really/ want to use this, use a C wrapper that's setuid root. Otherwise, give access to your httpd user to the mentioned directory. -jesse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php