Where does MAMP keep its php.ini?

前端 未结 15 2395
一个人的身影
一个人的身影 2020-11-27 12:23

I have recently got a mac an am not used to developing on a mac at all.

I have MAMP Pro 1.9.6.1. I did a locate on php.ini and got this:



        
15条回答
  •  北海茫月
    2020-11-27 13:00

    I don't know if you ever found an answer to this but I DIDN'T need MAMP PRO to do this. Simply goto the correct path by following what others have said. It's something like...

    MAMP-> bin-> php-> php(your php version)-> conf-> php.ini

    The key here is where you're editing the file. I was making the mistake of editing the commented part of the ini file. You actually have to scroll down to LINE #472 where it says "display_errors = Off and change it to On. Hope this helps any

提交回复
热议问题