Find current php version uses by MAMP Server,  here is the location for php7.4.2:

/Applications/MAMP/bin/php/php7.4.21/conf

open the php.init file

vi php.ini

Copy to Clipboard

You can see below image with details of importing files and max size changed 100M

Happy Learning!