![]() Type cd /etc/apache2/users and press enter.ģ. conf file with the name of nf under /etc/apache2/usersĢ. this is your account name / username) For example, if your username is developer, we will be making a. To be able to recognize the files putting into Sites directory, nf needed to be setup.ġ. ![]() ![]() When the folder is created, it will generate a folder with a compass image on the folder as you can see from the below screenshot. 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 |