圖片上傳大於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 [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就出錯
分享到:
------解決方案--------------------
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