Posted by terence.parker on 08/19/06 02:54
This could be a permission issue. To unlink a file your webserver must
have the permissions to remove it. Most likely your apache is running
as user 'apache', so the file you are removing must either be owned by
user/group apache, or have permissions to be removed by any user (666 /
777).
Terence
Benjamin wrote:
> Hello, I'm running PHP 5.2.0 as a Apache 2.2 server module. When, I try
> to unlink I get this: "Warning: unlink(file.txt) [function.unlink]:
> Permission denied..." What and how do I change this so it works?
> Thanks
[Back to original message]
|