各位好,我上传图片的时候只要图片大于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 [email protected] 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就出错

解决方案 »

  1.   

    php.ini 里面的 display_errors 选项打开了吗?
    要先显示出具体的错误,只有这个“Internal Server Error”是无法看出问题的
      

  2.   

    去看下apache的错误日志,检查下有什么错误信息。
      

  3.   


    httpd 日志里报的HTTP request length 134804 (so far) exceeds MaxRequestLen(131072)意思是说最大长度是131072我传的图片超过了,我之前装了个Apache 后来又装了个phpStudy.
    php.ini配置里upload_max_filesize = 2M运行最带上传文件为2M啊远远没有超出啊,不知道为什么?
      

  4.   

    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
      

  5.   

    http://www.nowamagic.net/librarys/veda/detail/104