Home > php教程 > php手册 > body text

nginx 413:nginx,php不能上传大图问题(413)

WBOY
Release: 2016-06-21 08:51:34
Original
877 people have browsed it

上传图片 出现错误:413 Request Entity Too Large
修改nginx.conf 在http{
    client_max_body_size 10M; #添加 改大点
}
修改php.ini 中
upload_max_filesize = 10M
post_max_size = 10M
重启nginx,php-fpm 本文链接http://www.cxybl.com/html/wlbc/Php/20120627/31128.html



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!