修改文件/usr/local/etc/php/conf.d/uploads.ini.
如果经由nginx转发,还需要在nginx的server下配置:
server { client_max_body_size 100M; }