Where is the php.ini file?

J

jimz

Guest
Hi,

I recently switched to mac, so forgive my simple question, I did search for the file...

my php folder is usr/local/php5.

Where is it?!

Thanks for your help!
Jim.
 
OP
K

Kokopelli

Guest
probably /usr/local/php5/lib

Keep in mind finder hides the usr folder if that is how you are looking.

1) Open finder
2) <cmd><shift>g then type in /usr then enter
3) navigate to local/php5/lib and see if it is there. (yes you could type in the whole path but /usr is less likely to have a typo)
4) If it is not there for some odd reason try to find your php.ini from a terminal by typing "sudo find / -name php.ini" and enter your password.

It may take a while to run so let it chug. if that comes up empty there is probably not a file called "php.ini" on your system. (90% chance it is in the /usr/local/php5/lib folder though.)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top