PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help
| apache on linux, who to run PHPs as
Date: 05-06-04 09:23
I'm having a problem with Apache 184.108.40.206.2-4 which is running on Linux Debian.
The fact is that i need PHP scripts to be run as the user matching the dir's owner of the domain's document root...
let's put this clear,
# --- httpd.conf ---
# several settings here
# end of http.conf
when i upload a file by submitting a form i.e. at www.domain1.com then the file's owner will be www-data:www-data.
the won't let php read it then.
I know i can set the default user (www-data) to another user, but that doesn't help since i need that every uploaded (or created by GD) file's owner match the /home/*/public_html user
if it's not clear just ask.
thx in advance!
|| apache on linux, who to run PHPs as new