Link to home
Start Free TrialLog in
Avatar of studeggle
studeggle

asked on

How to get write permission for php scripts on a windows 2003 server.

I have a Windows 2003 server with php4.0 and IIS V.6 and I am trying to get write permissions for a php script and nothing I am doing is working.  I have tryed giving write permission to isuer for the folder, the whole site, and even the entire computer, but nothing works.  Anyone have any idea what I am doing wrong?
Avatar of Dave_Dietz
Dave_Dietz
Flag of United States of America image

Are you using PHP as an ISAPI or as a CGI?  Is the page authenticated or anonymous?

Try giving write permissions to the IIS_WPG group on the target folder.

Dave Dietz
Avatar of studeggle
studeggle

ASKER

I am useing ISAPI php, I had tried giving permision to the group.  A friend found the solution for me.  I was only issueing the permission through the IIS manager, I also had to go into windows explorer and issue it dirrectly to the folder.  What a pain you'd think microsoft would make that happen automatically.
I would like to reward you for your effort especially since I was delayed in getting back to you.  But I don't think its fair to give you a excellent/good grade when you didn't have the answer.  So pehaps you can give me a clue on another minor issue that has arrisen.  I have to use the php.exe file and the server set to execute scripts and exe to get php to work.  It would be better, and from what I know should work, to have the dll file for interpretation and execute scripts only as the setting.  Anby idea why I can't use the dll file instead of the exe file?
ASKER CERTIFIED SOLUTION
Avatar of Dave_Dietz
Dave_Dietz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial