Here's my HTML code although I think it's irrelevant:
<form enctype="multipart/form-data" action="../developers/submit.php" method="post">
<input name="product_zip" type="file" /><input type="hidden" name="MAX_FILE_SIZE" value="20000">
</form>
The reason I say it's irrelevant is that I can upload zip files under 100kb. I get a 500 internal server error on zip files over 100kb. Everything else works over 100kb, png, gif, newly created zip files, etc.
I've checked all my PHP ini settings. Everything is right including max upload size, execution time, etc.
I'm baffled on this one and can't figure out why my server won't upload certain zip files. It's not my PHP code, because I have completely commented it out and still get a 500.
Server Info:
Cpanel / WHM
CentOS 5
PHP /w mySQL
SOLUTION FOUND: It was a problem with mod_fcgid.
The MaxRequestLen needs to be set higher.
The solution is here: http://pivica.me/blog/500-internal-server-error-while-uploading-files-bigger-then-100kb-modfcgid-problem
It was a problem with mod_fcgid.
The MaxRequestLen needs to be set higher.
The solution is here: http://pivica.me/blog/500-internal-server-error-while-uploading-files-bigger-then-100kb-modfcgid-problem
MAX_FILE_SIZE is just 20kb, try increasing the MAX_FILE_SIZE variable and see if it changes anything
Problem is the file extension running on hosting server you need to remove the "FastCGI" on some hosts for etc "PHP5.2.x + FASTCGI" change it to "PHP5.2.x" IN file extension manager
The MAX_FILE_SIZE and MaxRequestLen update should work! HOWEVER, if not go into your "php.ini" configuration folder and update each individual (requires apache reset) as in order in the below list until you can upload the zip file:
And if STILL neither work. Try turning on "extension=php_zip.dll" within that same php config file.