Increase the PHP memory limit
- Start MAMP PRO
- Stop the server if it’s running
- Choose Menu > File > Edit Template > PHP 5.x.x php.ini / PHP 5.x.x php.ini
- The PHP ini file will be opened.
- If a dialogue box pops up, read it and confirm with OK
- Search (Command + F) for
memory_limit
- You should get the following line:
`memory_limit = 32M ; Maximum amount of memory a script may consume (8M)’
- Now you can change the default value of
32M
. For instance into 64M
or even more (like 128M
)
- Save (Command + S) your changes.
- Close (Command - W) the file.
- Start the Server.