圖片上傳大於100k就出Internal server error解決辦法

來源:互聯網
上載者:User
圖片上傳大於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
  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.