After updating to php 5.6.17 (Centos 6.5) files are not uploading.
$_FILES variable dump below
Array(
[files] => Array
(
[name] => file.pdf
[type] => application/pdf
[tmp_name] => /etc/folder/temp/phprm2HZS
[error] => 0
[size] => 1500433
)
)
if I try file_exists($_FILES['files']['tmp_name'])
returns false
if I list the contents of that temp folder it's empty, and surely move_uploaded_file
returns false, and no exception is caught.
Edit:
Problem was that /tmp is not in apache's open_basedir
Fixed now