Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to configure PHP on Mac OS X (10.5.7) and am really confused as to where this program "lives".

Here's what I've found / not found:

php: /usr/bin/php
php.ini: /etc/php.ini
extensions directory: /usr/lib/php/extensions

Are there other places where PHP components are located?

share|improve this question
up vote 3 down vote accepted

Have you tried:

locate php

Here is an article that may provide some guidance.

Another article: Working with PHP 5 in Mac OS X 10.5

One from Using the bundled PHP

share|improve this answer
that's somewhat helpful... finds anything with "php" in the filename, thanks (although i would rather hear where it's supposed to be located) – Jason S Aug 23 '09 at 0:28
hmm, good enough, i guess! – Jason S Aug 23 '09 at 0:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.