Posted by Gilles Ganault on 09/26/86 12:00
On Tue, 15 Jan 2008 05:12:57 +0100, Gilles Ganault <nospam@nospam.com>
wrote:
>What am I doing wrong? Is it some kind of security feature in Apache
>or the OS that's preventing the script from writing the text file?
Found what it was:
=======
# ll
drwxr-xrwx 2 root wheel 512 Jan 15 05:20 .
# chmod 757 ./.
=======
Now, index.php can write into Apache's htdocs/ but I doubt this is the
right solution. Does it mean that PHP scripts shouldn't write any file
into htdocs/ ?
Thanks.
Navigation:
[Reply to this message]
|