php-install | 2004112
Date: 11/22/04
- Next message: Andrew Lee Paul: "[PHP-INSTALL] Problems compiling PHP 5.0.2 on Fedora Core 3"
- Previous message: Michael Leung: "[PHP-INSTALL] upload file permission problem"
- In reply to: Michael Leung: "[PHP-INSTALL] upload file permission problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 2004-11-22 at 00:30, Michael Leung wrote:
> Hi all,
> I just upgraded my server into PHP 5. I run the same script which is
> working in 4.2.2.
> But In PHP 5 has followings msg:
> Warning: move_uploaded_file(upload_files/Gnatt.htm)
> [function.move-uploaded-file]: failed to open stream: Permission
> denied in /var/www/html/simple_upload.php on line 60
>
> Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to
> move '/tmp/phpZ29DAN' to 'upload_files/Gnatt.htm' in
> /var/www/html/simple_upload.php on line 60
>
> I am 100% sure , I have changed the upload_files dir into 0777 mod.
>
> Any one can help?
Michael,
You do not give a full path to the upload_files directory, so is PHP
looking for it in the right place?
HTH
Chris
- Next message: Andrew Lee Paul: "[PHP-INSTALL] Problems compiling PHP 5.0.2 on Fedora Core 3"
- Previous message: Michael Leung: "[PHP-INSTALL] upload file permission problem"
- In reply to: Michael Leung: "[PHP-INSTALL] upload file permission problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

