upgrade apache/PHP

darakok

macrumors newbie
Original poster
Jul 21, 2010
23
0
based on the latest snow leopard 10.6 client version. I want to know if it's possible to upgrade either Apache web server or PHP module to a later version?

And could you tell if it's recommended to upgraded or not?


Thanks so much,

dara kok
 

Cromulent

macrumors 603
Oct 2, 2006
6,039
36
The Land of Hope and Glory
based on the latest snow leopard 10.6 client version. I want to know if it's possible to upgrade either Apache web server or PHP module to a later version?

And could you tell if it's recommended to upgraded or not?


Thanks so much,

dara kok
You would be best off just compiling your own custom versions rather than trying to overwrite the versions that come built into Mac OS X. At least that way you'll be able to specify exactly what you want to be available in your PHP binaries (including database support for MySQL and / or PostgreSQL) which is not available in the Apple supplied ones.
 

wrldwzrd89

macrumors G5
Jun 6, 2003
12,107
75
Solon, OH
You would be best off just compiling your own custom versions rather than trying to overwrite the versions that come built into Mac OS X. At least that way you'll be able to specify exactly what you want to be available in your PHP binaries (including database support for MySQL and / or PostgreSQL) which is not available in the Apple supplied ones.
This isn't hard at all, assuming you have Xcode installed. Read the directions in the INSTALL file for both Apache and PHP, then build 'em. Generally all that's required is:
Code:
cd /path/to/source
./configure
make
sudo make install
 

darakok

macrumors newbie
Original poster
Jul 21, 2010
23
0
will it replace the existing install?

Code:
cd /path/to/source
./configure
make
sudo make install
Does the above method replace the existing install?


Thanks,
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.