Why is my .user.ini file not working?

If you are using a ".user.ini" file and the settings of this file do not affect you, this may be because you are running PHP in "Module Mode". If this is the case, you will need to switch to "CGI Mode", save the changes and restart the servers.

MAMP PRO - PHP - Mode