413 Request Entity Too Large
2017-12-05 14:28
211 查看
我用的是wdlinux
php出现“413 Request Entity Too Large”
解决方法
进入 /www/wdlinux/nginx/conf
编辑 nginx.conf
client_max_body_size 800m; //将上传限制改为800m
/www/wdlinux/etc/php.ini
upload_max_filesize = 200M //将php上传最大值改为200m
数值小会导致
keepalive_timeout 1800; //将上传超时的时间设为1800秒
wdcp——重启web服务
php出现“413 Request Entity Too Large”
解决方法
进入 /www/wdlinux/nginx/conf
编辑 nginx.conf
client_max_body_size 800m; //将上传限制改为800m
/www/wdlinux/etc/php.ini
upload_max_filesize = 200M //将php上传最大值改为200m
数值小会导致
$_FILES['file']['error']返回1
keepalive_timeout 1800; //将上传超时的时间设为1800秒
wdcp——重启web服务
相关文章推荐
- PHP CURL上传文件出现413 Request Entity Too Large
- nginx 413 Request Entity Too Large
- 表单上传图片报错(解决方案):413 Request Entity Too Large
- Nginx 出现413 Request Entity Too Large得解决方法
- nginx提示413 Request Entity Too Large解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- express 413 Request Entity Too Large解决办法
- WCF错误远程服务器返回了意外响应: (413) Request Entity Too Large。解决方案
- Nginx上传文件提示413 Request Entity Too Large
- nginx 出现413 Request Entity Too Large问题的解决方法
- 上传图片413 Request Entity Too Large
- 我的服务器开发之路-413 request entity too large
- nginx 出现413 Request Entity Too Large问题的解决方法
- Nginx出现“ 413 (499 502 404) Request Entity Too Large”错误解决方法
- Nginx:413 Request Entity Too Large解决
- Nginx出现“413 Request Entity Too Large”错误解决方法
- nginx 问题 413 Request Entity Too Large的解决方法
- Nginx 出现413 Request Entity Too Large 错误解决方法(上传大小限制)
- 413 Request Entity Too Large