Apache not starting in MAMP (but MySQL working) in OSX

前端 未结 16 1822
北海茫月
北海茫月 2021-01-30 08:15

I\'ve had MAMP working for a few months and recently installed PostgreSQL. It recommended installing Apache as well, which I did to make sure PostgreSQL worked. I then uninsta

16条回答
  •  有刺的猬
    2021-01-30 09:05

    1) Quit MAMP

    2) Use the command-line to run:

    $ sudo apachectl restart
    

    3) Open MAMP and start Apache

    4) Apache should start this time with any luck


    My situation was that when I used the command-line to run:

    $ sudo apachectl stop
    

    nothing changed. And when I used the command-line to run:

    $ sudo apachectl start
    

    I received the message

    httpd (pid 600) already running
    

    I tried restart instead and it worked.

提交回复
热议问题