It is recommended to create a Sites directory under username folder (username is your mac login name) This directory will be your document root for any web-related stuff. If Apache Server is started, you should see the below: Create Sites Directory Type localhost or 127.0.0.1 in the address bar Type sudo apachectl start and press enter To start the built-in Apache server, open the Terminal app from your Application folder or type Terminal in the Spotlight Search (shortcut: Command + Space Bar) MacOS comes with Apache Server by default.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |