遇到的問(wèn)題是這樣的 用input file組件上傳大附件時(shí),一直報(bào)“413 Request Entity Too Large”這個(gè)錯(cuò),試過(guò)上傳40M的壓縮文件,可以成功上傳,耗時(shí)37秒左右,當(dāng)文件大小變成80M時(shí),當(dāng)上傳時(shí)間到30秒時(shí)就報(bào)這個(gè)錯(cuò)了,在網(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腳本里也試過(guò)
ini_set('max_execution_time', '0');
set_time_limit(0);
想請(qǐng)教一下可能是哪里的問(wèn)題?謝謝各位了
http://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/
內(nèi)存限制