Re: PHP &Apache Upload file Permission denied
| From: | Richard Lynch | Date: | Tue, 14 Dec 2004 17:17:11 +0000 |
| Subject: | Re: PHP &Apache Upload file Permission denied | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204316@lists.php.net to get a copy of this message | ||
Michael Leung wrote:
> Yes, apache can do read/write in /tmp. I can't su to apache.
> But I created another account in apache group(userid test1). I have
> such tests by using that account. I can do mv , cp , create new file.
> After those successful test, I have modified httpd.conf to make
> apache web server run as test1. But they are still working like the
> same error.
You re-started Apache, right?...
Just to be sure, does <?php phpinfo();?> show 'test1' as the user?
If so, check http://bugs.php.net for your OS/PHP version and bugs
related
to file upload: If the user running PHP can do all that stuff, PHP should
be able to do it with no problem.
--
Like Music?
http://l-i-e.com/artists.htm