I am on macOS 10.12.6 and a Php Amateur
It comes pre-installed with Php v7.1.10 installed and the base directory where “localhost” points to is “/Users/”
How to change this to some other folder location?
Inside “/etc/apache2/httpd.conf” I have already altered “DocumentRoot” from “/Library/WebServer/Documents” to “[/path/to/new/directory]” and have restarted Apache.
This is still not reflecting same.
Note: I am not sure on this machine which I received from someone else, why the existing base directory is “/Users” and not “/Library/WebServer/Documents”
Please help