with mac's default php and apache installation, where is the www folder equivalent? -


when used use windows, install wamp, , put php code files inside www folder , navigate localhost/file_name.php see page in action. new macbook air, php , apache came machine, equivalence of "put php files inside www folder" , "navigate localhost/file_name.php"? how do used in mac? (also don't want reinstall anything, no mamp please.)

you can in /etc/apache2/httpd.conf find more settings , change default osx 10.8 /library/webserver/documents.

some more information on how setup php work apache on osx can found at: https://discussions.apple.com/docs/doc-3083


Comments