note 48264 added to function.move-uploaded-file
| From: | allan666 at NOSPAM dot gmail dot com | Date: | Fri, 17 Dec 2004 06:35:40 +0000 |
| Subject: | note 48264 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81894@lists.php.net to get a copy of this message | ||
On the Fedora Core 3 Linux distribution, you may get a "failed to open stream: Permission
denied in ..." message. I fact changing the permission of the directory will not work (even if
you set to 0777). It is because of the new SELinux kernel that allow apache user to write only in
/tmp dir (I think). In order to solve the problem you must to disable the SELinux (at least for
apache service) to allow the server to write in other directories. To do that, run the
system-config-securitylevel app and disable the SE to apache service. Reboot your system and
continue your work. Hope it helps!
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48264
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48264&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48264&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48264&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48264&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48264&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48264&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48264&report=yes
Search -- http://master.php.net/manage/user-notes.php