Quantcast
Channel: Where do I save my HTML and PHP files when I am using a local server on my Mac (OS X 10.6 Snow Leopard) - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Where do I save my HTML and PHP files when I am using a local server on my Mac (OS X 10.6 Snow Leopard)

$
0
0

I am learning PHP and MySQL and just set up a local server on my Mac Snow Leopard. The different components work (PHP work, MySQL works from the terminal, and Apache is set up.

Where should I save my HTML and PHP files? Some sources say /users/[my username]/sites/. Other sources say /MacHD/Library/WebServer/Documents. Still other sources say that I should save my files into an Apache folder? What's the right answer?

Thanks!


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>