上传大小限制设置

nginx.conf

location ~\.php{
     client_max_body_size 10M;
}

php.ini

upload_max_filesize = 8M 
post_max_size = 10M 
memory_limit = 20M 

posted on 2011-05-10 20:54  bluefrog  阅读(212)  评论(0编辑  收藏  举报