When the image is uploaded larger than kB, Internalservererror occurs. if the php image is uploaded larger than KB, an error occurs.
Hello everyone, when I upload an image, if the image size exceeds KB, the following error is reported.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@phpStudy.net to inform them of the time this error occurred, and the actions you have Med just before this error.
More information about this error may be available in the server error log.
The configuration file of Apache http. conf is set to 2 M. I hope you can give me some advice.
Reply to discussion (solution)
Is the display_errors option in php. ini enabled?
A specific Error must be displayed first. only the "Internal Server Error" cannot be seen.
Go to the apache error log and check the error message.
Httpd logs are the most important.
Go to the apache error log and check the error message.
HTTP request length 134804 (so far) exceeds MaxRequestLen (131072) reported in the httpd log)
The maximum length is 131072. I uploaded more than images. I installed Apache and phpStudy.
In the php. ini configuration, upload_max_filesize = 2 MB, and the maximum number of files to be uploaded is 2 MB. I don't know why?
Http://www.google.com.hk/search? Newwindow = 1 & safe = strict & biw = 1525 & bih = 741 & noj = 1 & q = HTTP + request + length + exceeds + MaxRequestLen + php & oq = HTTP + request + length + exceeds + MaxRequestLen + php & gs_l = serp.12... 16863.17338.0.117775.2.2.0.0.0.0.911.911.6-1.1.0 .... 0... 1c. 1.27.serp..2.0.0.d6Blu54Sg9Y
Http://www.nowamagic.net/librarys/veda/detail/104