i've scoured the tubes of the internets in search of why this is happening, but i'm at a loss. here's everything about my current configuration...
PHP Version 4.3.3
Linux (none) 2.4.20_mvl31-ixdp465 #36
Apache 2.0 Handler
disk is only 28% full
256MB RAM (this particular server only handles one user at a time)
httpd.conf
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
.htaccess
php_value max_execution_time "1200"
php_value post_max_size "64M"
php_value upload_max_filesize "48M"
php_value memory_limit "84M"
php_value max_input_time "360"
php.ini (reason this is different from .htaccess is i want to notice a difference when i do ini_get("[variable]"))
memory_limit = 32M
max_execution_time = 360
max_input_time = 360
post_max_size = 32M
upload_max_filesize = 24M
html form
<form method="post" action="testform.php" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="25165824" />
<input type="file" name="myfile" /> <input name="submit-button" type="submit" value="Upload" />
</form>
php code to handle upload
if ($_POST["submit-button"]) {
$target = "/cf1/updates/";
$target = $target.basename($_FILES["myfile"]["name"]);
print $_FILES["myfile"]["error"]."<br />";
print move_uploaded_file($_FILES["myfile"]["tmp_name"], $target);
print_r($_FILES)."<br />";
}
i think that covers ALL the bases and it's still not allowing me to upload files larger than 5MB.