Where is PHP.ini in Mac OS X Lion?
Solution 1:
To locate the ini file on your machine, open Terminal.app
and run the following command:
php --ini
If you need a template for Lion, try this.
Solution 2:
You should find it in /private/etc if it exists, otherwise:
sudo cp /private/etc/php.ini.default /private/etc/php.ini
Solution 3:
In terminal do php -i | grep php.ini
.
Should give you some clues ;)