On Nov 20, 2007, at 20:12, Thomas Allen wrote:

I'm trying to setup a local MAMP server using Macports, and all I'm
running into are problems. MySQL (4) can't connect, http://localhost/
is DOA, and I have no real way to test my PHP installation. I'd like
to have the following setup:

MySQL 5, PHP 5, Apache 2

I suspect that my main problem is daemons for these services not
starting. Anyway, I really put my faith in Macports here, and it would
mean a lot if someone could lend a hand.

sudo port install mysql5 +server
sudo port install apache2
sudo port install php5 +apache2

It will show you the launchctl commands you need to enter to start mysql5 and apache2 at system startup.


_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to