Where is PHP.ini in Mac OS X Lion? Thought it was in /usr/local/php5/lib

前端 未结 12 2247
醉话见心
醉话见心 2020-11-29 15:13

I wanted to run some PHP right on my Mac, uncommented httpd.conf, activated web sharing, installed MySQL etc. I can\'t seem to find my PHP files, most importantly, PHP.ini.<

12条回答
  •  一整个雨季
    2020-11-29 15:43

    I have more than once instance of PHP running so the other answers did not work for me. This did:

    Create a PHP file and open its local url in your browser:

    
    

    The PHP.INI path will be listed close to the top.

提交回复
热议问题