Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   PHP (http://www.programmingforums.org/forum29.html)
-   -   Configuring PHP (http://www.programmingforums.org/showthread.php?t=12748)

titaniumdecoy Mar 8th, 2007 3:52 PM

Configuring PHP
 
I'm running Mac OS X. I know PHP is installed by default but I want to upgrade to the latest version before I use it. I found a guide to installing PHP online, and it includes instructions for installing GD, etc. It seems like you have to decide on and configure everything you want your PHP installation to include before you install it. My question is, what if you decide you want to add another component? Is it possible to do so without reinstalling, and if so, where can I find instructions for this? Thanks.

Wizard1988 Mar 8th, 2007 6:36 PM

I don't know about Mac OS X but on a windows machine you can change your extensions by editing the PHP.ini file. The components are packed in dlls which are in the extensions folder.

Ooble Mar 9th, 2007 1:50 AM

If you use MacPorts to install PHP (and Apache and MySQL, while you're at it), it'll compile in most modules by default, and you can specify extra ones using the variants functionality.

If you want to do-it-yourself, you can compile extensions as system objects (.so) and enable and disable them as you like in php.ini.

AICkieran Mar 12th, 2007 10:21 AM

Theres a package you can install that installs php for you and adds it to the apache config:

http://www.entropy.ch/software/macosx/php/

Hope this helps.


All times are GMT -5. The time now is 2:15 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC