PHP extentions and config file?

btoth

Person that uses a Mac
I'm currently just using the PHP that comes pre-built with OS 10.3. Could someone please tell me where the config file for PHP is or where I should put one? Also, does it have the same extentions available that the Windows build of PHP comes with? Or is the best solution to download and install the latest build myself (which I have no experiance doing under Unix)? If that's the case, is there a straightforward way to uninstall the PHP that comes with OS X by default?

I'm currently moving all my web development stuff over to my PowerBook since I enjoy working on it better and there are some settings I'd like to change like RegisterGlobals and such.

Thanks for any help.
 
The configuration file for PHP is called php.ini. Traditionally, OS X version of PHP doesn't include php.ini file (well, from my experience anyway)... I'm not even sure if Marc Liyanage's (see phatcactus' link above) has it.

However, you could probably find an example of the content somewhere on-line and create the file itself. Mine resides in /private/etc/
 
Back
Top