![]() ![]() Other commands include start and stop that can be run like this to start Apache: sudo apachectl -k startĪnd like this to stop Apache: sudo apachectl -k stopĪlso, if you just type in apachectl without anything you will receive a list of options and directives you can use with the apachectl command this is my output from Mac OS X 10.9. ![]() ![]() Assuming you have admin privileges, just type in the password and Apache should restart. Another reason why the Apache web server may not start is that. In order to stop or restart the Apache HTTP Server, you must send a signal to the running httpd processes. Since Apache runs on a reserved port ( 80) that is considered a sensitive system level port you would have to run apachectl restart via sudo like this: sudo apachectl -k restartĪfter typing that in it will as you for your password. If Apache still refuses to start, check the log file for error messages. The Apache web server remains bundled with Mac OS X though, but you’ll need to turn to the command line to enable the web server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |