note 48264 deleted from function.move-uploaded-file by cmb

From: Date: Mon, 08 Apr 2019 06:40:18 +0000
Subject: note 48264 deleted from function.move-uploaded-file by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-210568@lists.php.net to get a copy of this message
Note Submitter: allan666 at NOSPAM dot gmail dot com ---- 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!

« previous php.notes (#210568) next »