-
Open Terminal on your Mac and type in
docker exec -it devkinsta_fpm bash
-
Type in
apt-get update && apt-get upgrade && apt-get install nano
. You will be prompted to type Y. This step will installnano
so you can edit the file. -
Then type in
nano /etc/php/7.3/fpm/php.ini
. You may need to change the 7.3 to another version. Match this with the version the site is on on DevKinsta. -
There’s quite a bit here but what you’re looking for is
post_max_size
. To do a search, press control+w on your keyboard - type post_max_size - then enter. -
Change this to your desired value.
post_max_size = 64M
should do it. Exit with control+x and press Y to save. -
Type
exit
thendocker restart devkinsta_fpm
Should be all good from there! Let me know if you have any questions about any steps here.