I'm trying to setup Virtual Hosts on my mac using MAMP but I was not able to run my apache.
I already did this before by following this tutorial but still my attempts are unsuccessful.
I'm running OSX Yosemite and MAMP 4.5
Update 1:
I tried running sudo /Applications/MAMP/Library/bin/apachectl start
and it returns this
(48)Address already in use: make_sock: could not bind to address [::]:80
(48)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Update 2:
I tried renaming envvars_
and restarted the apache sudo apachectl restart
still the apache is not running
Solved
Upon troubleshooting, what I did is force quit
all the httpd
processes on my activity monitor and restarted the mamp!!