在nginx的配置文件里http下面加入一句:client_max_body_size 64M;
例如我的配置文件路径为: /etc/nginx/nginx.conf
php.ini
upload_max_filesize = 128M
post_max_size = 128M
memory_limit 256M
max_execution_time 300
max_input_time 300
然后重启php和nginx:
service php-fpm restart
service nginx reload
赞 (0)
【交流】肥厚型心肌病HCM
上一篇
2019-12-26
内网穿透神器Frps一键安装脚本及设置教程
下一篇
2020-02-24
Warning: Undefined array key "related_news" in /var/www/html/www.pita.ltd/wordpress/wp-content/themes/justnews/single.php on line 175