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.
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.
Is there a conflict with port 80? Change the configuration file
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.