# How to Change upload\_max\_filesize in Windows

**URL:** https://community.kinsta.com/t/how-to-change-upload-max-filesize-in-windows/1064
**Category:** Application Support
**Created:** [October 25, 2021, 4:19am UTC](https://community.kinsta.com/t/how-to-change-upload-max-filesize-in-windows/1064 "2021-10-25T04:19:26Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![GECinAZ](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/gecinaz/32/748_2.png) [@GECinAZ](https://community.kinsta.com/u/GECinAZ)
#### Post date: [October 24, 2021, 7:14pm UTC](https://community.kinsta.com/t/how-to-change-upload-max-filesize-in-windows/1064/2 "2021-10-24T19:14:46Z")

</div>

I use DevKinsta on Windows 11.  
I’ve been trying to change the upload\_max\_filesize in php.ini  
I’ve followed exactly these instructions:

"1. Open Terminal on your Mac and type in `docker exec -it devkinsta_fpm bash `  
2. Type in `apt-get update && apt-get upgrade && apt-get install nano`. You will be prompted to type Y. This step will install `nano` so you can edit the file.  
3. 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.  
4. 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.  
5. Change this to your desired value. `post_max_size = 64M` should do it. Exit with control+x and press Y to save.  
6. Type `exit` then `docker restart devkinsta_fpm`

Should be all good from there! Let me know if you have any questions about any steps here."

When I look at the php.ini file in nano, the changes I’ve made are shown exactly as I want them.  
But when I go to my DevKinsta site, the upload\_max\_filesize is still at 128M

Is there any other way to change upload\_max\_filesize that is easier for a Windows user like me who isn’t all that familiar with the nano editor?

---

_[View the full topic](https://community.kinsta.com/t/how-to-change-upload-max-filesize-in-windows/1064)._
