Modify php.ini in MAMP PRO

Where is the php.ini file used by MAMP PRO?

You may have been wondering for a few minutes how the hell can you easily change the php.ini when using MAMP. I did.

I had to change the memory_limit because the initial setting is only 32M and it was not enough for the WordPress install I was running. So I looked into the folder Applications > MAMP PRO and then click on the right hand button to “see the package contents”, then a new folder opens and you can navigate into Contents > Resources. There are several php.ini files, each of them corresponding to one of the PHP versions included in MAMP PRO. In my case, I wanted to change the php ini corresponding to v. 5.3.27.

This is the file I had to edit:

/Applications/MAMP PRO/MAMP PRO.app/Contents/Resources/php5.3.27.ini

Advertisements

One thought on “Modify php.ini in MAMP PRO

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s