executing a command with PHP in windows

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

There is an user-account IUSR_<computername> on your system. Without further IIS(!)-authentication any script will run under the permission settings of this account. Maybe this account is not allowed to access drive c:

If possible (if you have admin privileges on that system):
Check the filesystem permissions for that account and/or change the default account for that virtual directory. Open the internetservices-manager, right-click the virtual directory your script is in and choose properties. There should be an page 'directory security' (sorry, I had a german version and IIS is not installed any longer). On that page is something about anonymous access were you can choose another default account.
Probably you should switch back to IUSR_... after you've verified wether your script runs with other account settings.
fujiwara takumi
Forum Newbie
Posts: 10
Joined: Wed Jan 15, 2003 4:04 pm
Location: racine, wi
Contact:

Post by fujiwara takumi »

yeah, its my server, ive been through it, (security, authentication, user accounts, etc) pretty rigoursly already, but ill try to take a look again tonight with the details you provided.
Post Reply