The advent of Mac installation XAMPP does not open Apache server

Source: Internet
Author: User

When the Mamp is installed, the service prompts Apache to start failing and port 80 is occupied. View process Discovery there are several httpd. OS x comes with Apache, but it is not started by default. I did not open the Web share, how to boot it?

I do not know whether it is because of the installation of other software caused. General boot-up entries can be in the system Preferences–users&groups–login Items to add or remove. However, there are no Apache related startup items found here. So Google went to the following feasible method, open the terminal, execute the following command.

sudo launchctl unload-w/system/library/launchdaemons/org.apache.httpd.plist

If one day you want it to boot up, change the unload to load:

sudo launchctl load-w/system/library/launchdaemons/org.apache.httpd.plist

Launchd is a critical process for initializing the system environment under Mac OS. Similar to Linux under the INIT, RC. This method also applies to some services that disable the system, such as printers, Bluetooth, and so on.

The advent of Mac installation XAMPP does not open Apache server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.