[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: (Deja-vu): PHP and File-Write Permission?



> Please, could someone give me some hints on what to read or to do
> to solve above problem?

When the script runs via Apache, it takes on the user permissions of
whatever user account is running Apache, which is generally a user called
'apache', so if a file is not readable/writable by the 'apache' user ot
'apache' group, then you won't be able to access the file via a browser.

When you run it via cmd-line, you're effectively running the script as
whatever username/group you're logged in as.

-id






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]