Thursday, December 30, 2010

MAC Apache MySQL PHP

MAMP in short, is what most php developer is looking for on MAC.
First, get macport installed.
Then, follow this instruction here:

Make sure to disable the web sharing of MAC, which is default enabled.
And to start it, you will need to to run the daemons in /opt/local/etc/LaunchDaemons.
Example:
/opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start

DocumentRoot is located @ /opt/local/apache2/htdocs
Configuration @ /opt/local/apache2/conf


No comments: