Just wanted to add that if your project also uses ngnix, you may have to add client_max_body_size 100M; to your nginx.conf, since by default nginx is only 1 MB - in addition to the PHP settings mentioned above. I use the ".user.ini" file at the root level of my projects to change a few parameters that I want to override from the default "php.ini" file.
I use dokku and found it in /etc/nginx/nginx.conf and added an extra line via nano nginx.conf .
I do not use nginx directly, but my buildpack adds it.
Hope this helps someone :)
Marius Hansen Apr 19 '19 at 19:47 2019-04-19 19:47
source share