New apache on mac

Posted by Keith on Server Fault See other posts from Server Fault or by Keith
Published on 2010-08-16T03:04:13Z Indexed on 2010/12/25 6:55 UTC
Read the original article Hit count: 394

Filed under:
|
|

I have installed php5 apache2 mysql5 and postgresql84 using MacPorts. I realize my mac already has apache but it didn't have apache2 nor postgesql hooked up to use with php.

I want to not use the default apple apache and use the new macports install.

How do I tell my computer to stop looking at the old apache? When I do apachectl in the terminal I believe it is using the old apache. I would like to hook it up to use the new one. How would I do that?

The new stuff is installed at /opt/local/apache2 and the old stuff is installed at /private/etc/apache2

I went to system preferences...Sharing...and shut off Web Sharing but when I do apachectl's that turns it on and off in the preferences.

I'm running in Snow Leopard.

© Server Fault or respective owner

Related posts about apache

Related posts about snow-leopard