Re: PHP &Apache Upload file Permission denied
| From: | Michael Leung | Date: | Mon, 13 Dec 2004 01:25:38 +0000 |
| Subject: | Re: PHP &Apache Upload file Permission denied | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204127@lists.php.net to get a copy of this message | ||
Hi Andre,
thank you, I have hided my html path in the message. I have replace
my real path with '/var/www/html/'. the error message should be like
this.
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to
> > move '/tmp/phpjsLZfC' to '/var/www/html/test/icons.zip' in
> > /var/www/html/simple_upload.php on line 76.
Pervious error message , I have some typing mistakes in there.
Yes, this kind of script is working in my pervious old server. But
after I have upgraded the OS to Fedora 3 with PHP 5.0.2 and Apache 2.
The script does not work any more. I am thinking may be I need to
modify some configure in Apache 2 to allow the upload file function.
yours,
Michael