1. 程式人生 > >POST Content-Length of 8908752 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

POST Content-Length of 8908752 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

伺服器檔案上傳有限制

解決方法,修改 php.ini

upload_max_filesize 用於限制使用者上傳單檔案的大小
post_max_size 用於限制 POST 請求 body 的大小
所以,如果使用者會同時上傳多個附件,就需要設定 post_max_size 為 upload_max_filesize 的 N 倍大
--------------------- 
作者:上官hao 
來源:CSDN 
原文:https://blog.csdn.net/qq_29099209/article/details/83014224 
版權宣告:本文為博主原創文章,轉載請附上博文連結!