I installed drupal and using the site successfully. unexpectedly i could not upload images more than 100kb size.
In file upload size: i mentioned that maximum file size of upload file is "5MB".
I could not upload image more than 100kb for all content type.

Please help me to solve this. i have tried to find the similar issue in all drupal sites. no one has solved it. Please help me.

neelan
www.webneel.com

Error screen says:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache Server at webneel.com Port 80"

Comments

I have encountered this error as well. And indeed, there seems to be no solution for this, till I digged a bit deeper.

Probably your PHP runs as FastCGI application. Then probably you are affected by this:
http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidmaxrequestlen

In FastCGI, for some reason, the default value has changed from 1GB to 130kB as you can read on the link above:

Before 2.3.6, this defaulted to 1GB. Most users of earlier versions should use this directive to set a more reasonable limit.

You should have following error in your error.log:
[Thu Feb 09 19:01:04 2012] [warn] [client 81.164.155.215] mod_fcgid: HTTP request length 131860 (so far) exceeds MaxRequestLen (131072), referer: .........

There are 2 ways you can solve this: change FastCGI or make PHP run as apache module. Here I explain how you can change your server configuration.

You should add following to your server config or virtual host config:

<IfModule mod_fcgid.c>
  # 20MB should be enough
  MaxRequestLen 20000000
</IfModule>

You cannot add this to your .htaccess file, so you will need to have access to your server.

Please let me know if this helps.

Category:bug» support
Priority:Critical» Normal