Uploading 100KB+ zip files gives an Internal Server Error

戏子无情 提交于 2019-12-06 04:07:09

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

MAX_FILE_SIZE is just 20kb, try increasing the MAX_FILE_SIZE variable and see if it changes anything

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

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:

  • upload_max_filesize
  • post_max_size
  • max_input_time
  • default_socket_timeout

And if STILL neither work. Try turning on "extension=php_zip.dll" within that same php config file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!