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.

link|improve this question
feedback

migrated from stackoverflow.com Aug 16 '10 at 4:46

This question came from our site for professional and enthusiast programmers.

1 Answer

After searching a while, I did not find any real solution to the problem.

However, I think you maybe should reconsider, and read this conversation on the apple discussion forum.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown