![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Expert Programmer
|
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.
|
|
|
|
|
|
#2 |
|
Professional Programmer
|
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.
__________________
JG-Webdesign |
|
|
|
|
|
#3 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
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. |
|
|
|
|
|
#4 |
|
Programmer
Join Date: Jan 2006
Location: UK
Posts: 55
Rep Power: 3
![]() |
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. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Slackware installation guide for Linux beginners | coldDeath | Coder's Corner Lounge | 104 | Jul 29th, 2007 4:40 AM |
| Permission error | Samuaijack | ASP.NET | 4 | Nov 1st, 2006 5:21 PM |
| problem w/ configuring JSP | bae | Java | 6 | Jan 30th, 2006 9:52 PM |
| configuring a window service | dark_omen | C# | 7 | Apr 12th, 2005 7:08 PM |