I just spent about 30 minutes trying to figure out why my php.ini file was not updating on MAMP. (This is not MAMP Pro–if you are using pro then edit it in the template)
So, I’m hoping that this post will help those of you who are having issues doing the same.
First. Where is the php.ini file located?
/Applications/MAMP/bin/php/php5.2.17/conf/php.ini
or
/Applications/MAMP/bin/php/php5.3.6/conf/php.ini
Select phpInfo on your start screen of MAMP to see which version is running on your machine before editing. Or you may end up editing the wrong php.ini file and compounding the problem. (It’s right at the top of the page next to Start) Once on the phpInfo page do a search for “php.ini” and look at the file location.
Second, Depending on your php.ini settings, everyone uses different ones, you MUST restart MAMP for the changes to show up. This is what was making me crazy. I made the changes, refreshed the phpInfo page and nothing changed. But, restarting MAMP and all of the sudden they were all fixed. Makes sense, but not until after I figured it out.
Hope that helps!
thanks for the info!! now i can enjoy 30 more mins of doing fun stuff today 😉
that was very helpful. thanks a ton
dude. totally saved me 30m. tyty. have a good one.
Another thing that it is better to do is to set a 777 permission (recursive) to magento/ folders:
chmod -R +rw magento
Ciao!
Thanks a lot!!! I was indeed modifying the wrong php.ini. Looking in the phpinfo page pointed me to the correct. Thanks again!
Thank you! This was so helpful. Probably visited 5 useless sites before finding this post. Was exactly what i needed. Glad to see I’m not the only one struggling with this, but this info saved me. It seems weird to me that you have to go into the bin folder. I was editing the config folder in:
Applications/MAMP/conf/PHP5.5.3/php.ini
.I didn’t understand why it wasn’t working. But it seems like editing the same file in the bin/ folder works. Thanks, i was pulling my hair out.
Worked………………. hahahah, thxxxxxxxxxxxx
Thanks you!
Thank you!