Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows file permissions ?

Status
Not open for further replies.

polarz

Programmer
Mar 17, 2002
6
US
Hi, I'm testing php scripts on my computer and am not sure how to set the permissions to allow me to have access to manipulate files. e.g. I wrote a script to rename some files, but my permissions won't allow it.

Warning: Rename failed (Permission denied) in C:\Program Files\Apache Group\Apache\htdocs\rename.php on line 29

I'm not sure if my problem is php or apache releated. Any info on this topic is much appreciated. Thanks
 
Hi,

This would probably be a windows file permission issue. The php module would be running with the same permissions as the userid that started apache so presumably there is some problem there. Try doing something in a known public directory like c:/temp to test it out.

One other possibility is restrictions in the php.ini . Specifically, open_basedir --> . Check that too.


Hope this helps
 
Neither option worked, if anyone else has some thoughts plz post them. Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top