Re: PHP &Apache Upload file Permission denied
| From: | Travis Conway | Date: | Mon, 13 Dec 2004 01:35:26 +0000 |
| Subject: | Re: PHP &Apache Upload file Permission denied | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204129@lists.php.net to get a copy of this message | ||
Ha!
Sorry for that.... Fedora 3 is causing all kinds of havoc. I would stay away for a while.
Trav
----- Original Message ----- From: "Michael Leung" <michaelchikit@gmail.com>
To: "Andre Dubuc" <aajdubuc@webhart.net>
Cc: <php-general@lists.php.net>
Sent: Sunday, December 12, 2004 7:25 PM
Subject: Re: [PHP] PHP &Apache Upload file Permission denied
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php