What should I do if I delete the apache that comes with my mac? How can I restore it?
迷茫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.
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
我想大声告诉你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? . .
漂亮男人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