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?


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 php.org: Using the bundled PHP

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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