Jenil Gogari Jenil Gogari - 13 days ago 4
Apache Configuration Question

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.

Answer

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

Comments