hmm well that sounds very odd too me, as I never used that bundle I just do not know.
I recommend using XAMPP much easier as well as all settings like that are already turned on for you and working.
http://www.apachefriends.org/en/index.html
sorry i can not be anymore help anymore have ran out of ideas.
arrrrrrrrrrr "apache php and MySQL all in a nice bundle"
Ok i think i know what is the problem.
make a new file
info.php
inside it write
<?php
echo phpinfo();
?>
now view this page and look at (Loaded Configuration File) is this the php.ini file you have been edited? go check as them bundles normal have a few php.ini files.
Also do a search on that page for
file_uploads
upload_max_filesize
upload_tmp_dir
what is the web hosts OS? and no that is enough info from your php.ini file
also have u tried this
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir = "${path}\\tmp\"
; Maximum allowed size for uploaded files.
upload_max_filesize = 5000M
hmm I looked at your code and it should work i think there is a error in your php.ini file
Could you post it please
also what OS are you on and is SELINUX Disabled ? also iptables.
also try
copy($_FILES['subpic'][.tmp_name'],".tmp/" . $_FILES['subpic']['name']);
This should place a copy of the file in the .tmp directory with the same filename as the original.
however this one will not be removed after the page loaded. will help check if it is a write protected error i think its chmod 1777 needed.
read the apache error log
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.