How to Start and Stop Apache in Mac OS X

Save

The OS X operating system is backed by a UNIX-based core. The Apache Web server is built with heavy UNIX and Linux integration features that make it easy to transition to working with Apache in OS X. Starting and stopping Apache in OS X requires access to a terminal window and an administrator's password.

  • Open a new terminal window by clicking "Applications" and "Utilities," then double-clicking "Terminal."

  • Type "sudo apachectl -k stop" to stop Apache. Provide your administrator password when prompted, then press "Enter" to complete the action.

  • Type "sudo apachectl -k start" to start Apache. Enter your administrator password again at this time.

References

Promoted By Zergnet

Comments

You May Also Like

Related Searches

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!