Docker Chevereto图片上传大小限制

  • 进入容器
docker exec -it fcad5afa7297 /bin/bash
  • 修改文件保存
cd   /usr/local/etc/php/conf.d
nano upload.ini
post_max_size = 100M
upload_max_filesize = 100M
  • 重启容器生效