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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access restrictions in Apache

Status
Not open for further replies.

badstars

Technical User
Oct 14, 2003
1
AU
Hey all, I've got a bit of a problem.
I recently installed Apache (1.3.28) with PHP (4.3.3) and it seem to work fine and everything.

I have one major problem though, I can't seem to make PHP to have write access. I guess this is some setting in Apache that I can't find. What I'm trying to do is an upload script that makes it possible for users to upload pictures to my site
Where can I find the write access settings in Apache?

Thanks in advance

Andreas
 
It's likely not a PHP or Apache problem, but a permissions problem on your filesystem. Apache runs using a specific user on your system, and PHP uses the Apache user's permissions.

Check your http.conf to see what user Apache is running as (look for the "User" directive), then make sure that user has permission to write to the directory or file in question.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top