macos - What should I do if I delete the apache that comes with mac?
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-16 17:02:10
0
5
794

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

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(5)
迷茫

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.

左手右手慢动作

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
我想大声告诉你

Why do you need to restore that outdate version

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

漂亮男人

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

Peter_Zhu

Stop using that thing, go directly to nginx

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!