== System: ==
SUSE LERT 11 SP2 (as an AWS EC2 Instance)
PHP 5.3.8
Apache/2.2.12 (Linux/SUSE)
== Issue: ==
File uploads do not work.
== Sample form: ==
<form enctype="multipart/form-data" method="post" action="page2.php">
<input type="hidden" name="MAX_FILE_SIZE" value="3000" />
<input type="file" name="myfile" />
<input type="submit" />
</form>
== Sample processor: ==
<?php
print_r($_FILES);
?>
== Sample result: ==
Array ( [myfile] => Array ( [name] => test.jpg ) )
== AWS EC2 Firewall Settings: ==
ICMP = allow all ports, all sources
TCP = allow all ports, all sources
UDP = allow all ports, all sources
== PHP.ini Settings: ==
file_uploads = On
max_file_uploads = 20
memory_limit = 128M
post_max_size = 36M
realpath_cache_size = 128k
register_argc_argv = Off
register_globals = Off
safe_mode = Off
upload_max_filesize = 25M
upload_tmp_dir = /tmp (chmod 777 for testing)
This same setup worked fine on GoDaddy shared and "dedicated" (ahem) environments. When we moved to AWS EC2, no more file uploads.
SUSE-related? Setting?
Any help at all would be appreciated.
(The Novell Bugzilla report I discovered via Google is restricted access so I can't view it, and I have found nothing with "PHP upload" in any other open or closed Novell Bugzilla reports.)