Increasing the PHP file upload limit for phpMyAdmin on IIS/FastCGI [SOLVED]
Recently I encountered a somewhat unusual web host. They were running FastCGI/PHP on MS IIS and they needed their PHP file upload limits increased. This is trivial on a normal PHP installation, but it took a bit more sleuthing to determine the proper location(s) for php.ini on this IIS install.
For reference, here are the locations:
C:\Program Files\PHP\v7.4\php.ini C:\Program Files (x86)\PHP\v5.3\php.ini
The changes needed were:
upload_max_filesize = 200M post_max_size =200M
A few tips:
- Make the changes to the proper php.ini file as an administrator (depending on what version of PHP you are running)
- Save the file as an administator
- Restart IIS (run iisreset as an administrator)
After this, the client was able to upload files up to 200MB. 🙂
![](https://www.jdhodges.com/wp-content/uploads/2020/06/2020-06-15-16_35_02-2020-06-15-15_20-change-upload-limit.png)
![](https://www.jdhodges.com/wp-content/uploads/2020/06/2020-06-15-15_15_30-184.95.44.2-Remote-Desktop-Connection.png)
![](https://www.jdhodges.com/wp-content/uploads/2020/06/2020-06-15-15_10_48-php-ini-edit-1200x630.png)
![](https://www.jdhodges.com/wp-content/uploads/2020/06/php-locations-1200x621.png)
If you encounter something similar, I hope this help! 🙂