PHP image upload is larger than 100k error
Hello everyone, I upload pictures as long as the picture is larger than 100K to report the following questions.
Internal Server Error
The server encountered an internal error or misconfiguration and is unable to complete your request.
Please contact the server administrator at Admin@phpStudy.net to inform them for the time this error occurred, and the ACTI ONS performed just before this error.
More information on this error is available in the server error log.
Apache http.conf configuration file is set 2M, do not make it here, hope you pointing twos.
Reply to discussion (solution)
is the display_errors option open in php.ini?
To show the specific error first, only this "Internal Server error" is unable to see the problem
Go to the Apache error log and check for any error messages.
HTTPD logs are the most important, look first
Go to the Apache error log and check for any error messages.
httpd log in the HTTP request length 134804 (so far) exceeds Maxrequestlen (131072)
It means that the maximum length is 131072 I pass the picture more than, I installed an Apache and then installed a phpstudy.
PHP.ini configuration in upload_max_filesize = 2M run the most upload file for 2M Ah, far from the AH, do not 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