Home  >  Q&A  >  body text

macos - What should I do if I delete the apache that comes with mac?

What should I do if I delete the apache that comes with my mac? How can I restore it?

曾经蜡笔没有小新曾经蜡笔没有小新2713 days ago768

reply all(5)I'll reply

  • 迷茫

    迷茫2017-05-16 17:04:10

    Reinstall using the system that comes with the mac system, and stay connected to the Internet during the installation process.

    OSX's system reinstallation is very smart. It will automatically repair your lost system files and retain the software you have previously installed on your computer.

    reply
    0
  • ringa_lee

    ringa_lee2017-05-16 17:04:10

    Use homebrew to reinstall one, first install homebrew, under the terminal:

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
    

    Update:

    $ brew doctor
    $ brew update && brew upgrade
    

    Install apache:

    $ brew tap homebrew/apache
    $ brew install httpd22
    

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-16 17:04:10

    Why do you need to restore that outdate version

    Wouldn’t it be better to download a bug-fixed version yourself? . .

    reply
    0
  • 漂亮男人

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

    Delete it if you want. Mac also has the integrated amp and can switch to php apache version in dmg format
    . . I forgot the name. It’s a bit big, more than 300 meters tall

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-16 17:04:10

    Stop using that thing, go directly to nginx

    reply
    0
  • Cancelreply