You are here: Re: Permission problems with unlink() « PHP Programming Language « IT news, forums, messages
Re: Permission problems with unlink()

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация