Search code examples
macosapachelocalhostmamp

How start & stop MAMP PRO using command line?


I am trying to find a way by which I can start and stop MAMP PRO's Apache and mysql using command line. So far whatever I have search has only helped me start MAMP PRO.

Thanks.


Solution

  • http://pastebin.com/avn0BFap

    Save the script and give executable rights such as: chmod +x start.sh

    Then use it like ./start.sh Start or ./start.sh Stop or ./start.sh Restart