Forum Moderators: open

Message Too Old, No Replies

PHP on IIS, no write priveleges

         

hawkerz

3:36 pm on Jun 12, 2007 (gmt 0)

10+ Year Member



I recently installed PHP for IIS (WIN XP PRO). I'm working with large volumes of data so I wrote a quick script to convert long lists of part numbers into URL format and write it to a file. However, for some reason, PHP will not write to a file, and i know my syntax and format are correct...any idea what the issue is?

Marcia

3:50 pm on Jun 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't have a clue, I'm not a "techie" and often have to rely on advice and help - which there's plenty of for Apache, so it's my security blanket and I stay with it. IIS seems far more complicated to me, does setting permissions work the same way as with Apache? Could setting permissions be the problem?

[edited by: Marcia at 3:53 pm (utc) on June 12, 2007]

defanjos

7:50 pm on Jun 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Marcia is probably right. Make sure the file has "write" permissions enabled.

If you are on shared hosting, email your hosting company to request they change the permissions.

If you have access to the server, right click the file, click "properties", then choose "security", give "write" permissions to the web user (the name changes from server to server).

hawkerz

7:50 pm on Jun 12, 2007 (gmt 0)

10+ Year Member



To be honest I'm not altogether sure how permissions work on IIS either. I have worked with apache and *nix based systems all my life, but I just started a design job where the webserver is IIS. The first thing i did was install PHP for IIS, but I am a total newbie at IIS configuration or permissions therein, so that could be the problem for all I know.

hawkerz

7:52 pm on Jun 12, 2007 (gmt 0)

10+ Year Member



Oh, take a look at that. Thanks a bunch, I guess I just have to get used to this IIS nonsense