note 70038 rejected from function.move-uploaded-file by nlopess
| From: | nlopess@php.net | Date: | Sun, 01 Oct 2006 15:45:38 +0000 |
| Subject: | note 70038 rejected from function.move-uploaded-file by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-117900@lists.php.net to get a copy of this message | ||
Note Submitter: spam2 at rhsoft dot net
----
Hmm on Fedora with a self compiled php the function does not work
I must give the uploadtemp into open-base-dir then it will do
Damend "/var/www/uploadtemp/" exists and has chmod 777, owner apache and group apache -
wtf must the function check here open_base_dir??
Warning: move_uploaded_file() [function.move-uploaded-file.php]: open_basedir restriction in effect.
File(/var/www/uploadtemp/phpi6n65g) is not within the allowed path(s):
(/mnt/data/www/www.rhsoft.net:/mnt/data/www/phpincludes) in
/mnt/data/www/www.rhsoft.net/rte/catalog.php on line 573
Warning: move_uploaded_file(/var/www/uploadtemp/phpi6n65g) [function.move-uploaded-file.php]: failed
to open stream: Operation not permitted in /mnt/data/www/www.rhsoft.net/rte/catalog.php on line 573