using fopen, but warned "permission denied"

From: Date: Tue, 30 Jan 2001 10:18:43 +0000
Subject: using fopen, but warned "permission denied"
Groups: php.general 
Request: Send a blank email to php-general+get-37278@lists.php.net to get a copy of this message
I installed my php + apache in my linux box, with compiled the php as an apache module. any my web server is run as nobody ( by default ). I try to write some php script in my home directory, in which, I use the fopen call. However, I was warned with "fopen("tester.db","w") - Permission denied" I can only simply change the permission by chmod [directory], but, it is obivous dangerous. How can I do?

« previous php.general (#37278) next »