遇到的問題是這樣的 用input file組件上傳大附件時,一直報“413 Request Entity Too Large”這個錯,試過上傳40M的壓縮文件,可以成功上傳,耗時37秒左右,當文件大小變成80M時,當上傳時間到30秒時就報這個錯了,在網(wǎng)上著了相關(guān)的資料,現(xiàn)在的配置文件的相關(guān)參數(shù)設(shè)置是這樣的
nginx.conf
client_max_body_size 100M;
php.ini
upload_max_filesize = 200M;
post_max_size = 250M;
max_execution_time = 30;
php-fpm.conf
request_terminate_timeout = 30s
在php腳本里也試過
ini_set('max_execution_time', '0');
set_time_limit(0);
想請教一下可能是哪里的問題?謝謝各位了
http://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/
內(nèi)存限制