@
@
@Twitt2019-07-26 14:27:32
PHP
@Twitt, 2019-07-26 14:27:32

How can I make it so that I can develop in different folders on Mac Os so that these folders belong to different hosts?

I made a sites folder in the Users/{username}/ folder, in which I put one project, and when accessing localhost, index.php from /sites/ is launched. I came from Windows, where in the open server I set the folder and gave the name of the host, after which, if I named the test folder, for example, and develop there, then when I access test / in the browser, the content goes. In general, the question itself is how to make sure that I have projects in different folders? Not only in localhost, but also in those where I want.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
ThunderCat, 2019-07-26
_

to raise the docker - the easiest option, or to have sex with the settings of native Apache - to make virtual hosts and register their names in the hosts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question