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.<
To locate the ini file on your machine, open Terminal.app and run the following command:
Terminal.app
php --ini
If you need a template for Lion, try this.