日期:2014-05-17  浏览次数:20401 次

图片上传大于100k就出Internal server error
   各位好,我上传图片的时候只要图片大于100K就报下面的问题。
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 performed just before this error.

More information about this error may be available in the server error log.


Apache http.conf配置文件里是设置的2M,搞不定了这里,望各位指点一二。
php图片上传大于100k就出错

------解决方案--------------------
php.ini 里面的 display_errors 选项打开了吗?
要先显示出具体的错误,只有这个“Internal Server Error”是无法看出问题的
------解决方案--------------------
去看下apache的错误日志,检查下有什么错误信息。
------解决方案--------------------
httpd的日志最重要,看看先
------解决方案--------------------
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