triggercode / mamp-cli

Command line interface to work with the popular MAMP server environment
MIT License
14 stars 1 forks source link

Apache not starting #9

Closed fynnit closed 6 years ago

fynnit commented 6 years ago

Hi, using mamp start only fires up the mysql server, not the apache. Am I doing something wrong? Might be my MAMP version.. 4.2.1

toovy commented 6 years ago

Hi, if you run /Applications/MAMP/bin/start.sh manually you might get a useful error message.

fynnit commented 6 years ago

this is what I've got

180126 17:35:05 mysqld_safe Logging to '/Applications/MAMP/logs/mysql_error_log.err'.
180126 17:35:05 mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql56
(13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
toovy commented 6 years ago

@mefynn have you used sudo? Starting the apache needs sudo.

fynnit commented 6 years ago

I didn’t know! sudo works!