Can't increase MAMP php memory limit

Managed to solve it ;-)

The correct one is:

/Applications/MAMP/bin/php/php[your_php_version]/conf/php.ini

find 'memory_limit' and increase the number:

memory_limit = [number]M

Thanks!


Make an phpinfo.php and put there the phpinfo(); in the output you can see the loaded configuration files and the values.

Edit the loaded php.ini file and set the memory limit. I think you have edited the wrong php.ini file or your application set the value over memory_limit.