MAMP setup with Macports?
ryandesign at macports.org
Tue Nov 20 21:03:34 PST 2007
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.
More information about the macports-users