Home  >  Q&A  >  body text

macos - How to completely delete apache and php that come with mac

I heard on the Internet that mamp is very useful and can be installed automatically, so I downloaded it and installed it. However, I found that the green light of the apache server was always off, so I only used the mysql server light that was on, and entered localhost to enter. Is the reason why the native apache of mac is not deleted cleanly?
Please tell me how to completely delete Mac's native apache and php, and then install mamp. ​​I have been doing this for a long time.

伊谢尔伦伊谢尔伦2713 days ago1166

reply all(3)I'll reply

  • 漂亮男人

    漂亮男人2017-05-16 17:04:11

    So the questioner should develop the habit of asking if it is true first, and then how to do it.

    Remember, reversible operations are greater than irreversible operations. If you can completely disable it, don't drag it to delete it.

    It is recommended that the questioner compile apache from the source code, which saves trouble and is safe.

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-16 17:04:11

    Is there a conflict with port 80? Change the configuration file

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-05-16 17:04:11

    I originally tried to delete several file folders corresponding to apache according to the online method, but I don’t know why. Now when the terminal enters sudo apachectl start, it will return /System/Library/LaunchDaemons/org.apache.httpd.plist: Operation Already in progress, and when entering localhosr on the new page, it will appear at first, but when refreshed, it will become the top five accessed page.

    reply
    0
  • Cancelreply