[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2004-11-12
4
Medium Priority
?
213 Views
Last Modified: 2010-04-19
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?
0
Comment
Question by:studeggle
  • 2
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 12575015
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
0
 
LVL 1

Author Comment

by:studeggle
ID: 12606555
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.
0
 
LVL 1

Author Comment

by:studeggle
ID: 12606624
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?
0
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 1500 total points
ID: 12607128
If you're using the EXE you're *not* using PHP as an ISAPI - you're using it as a CGI application.

In any case, what happens when you try using the DLL?  My guess is you end up with 404 results.

If this is the case you will need to configure a Server Extension for the DLL and enable it.

In Service Extensions create a new Extension, add the php.dll file to it and then set it to Allowed.

Dave Dietz
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question