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

前端 未结 16 1880
北海茫月
北海茫月 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条回答
  •  闹比i
    闹比i (楼主)
    2021-01-30 09:03

    I had the same problem. After a lot of frustration about not having a descriptive error message, I realized I could check the "All messages" log under Applications/Tools/System messages (or some similar path, as I just translated from my language here). There I found the explanation, which in my case meant that a library link was broken (probably due to the uninstallation of postgres). I fixed this by recreating the link. In my case it meant I had to run the following command in the terminal:

    sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    

    and now it works!

提交回复
热议问题