What is path on a local Mac using http://localhost/

weknowjack

Registered
I have just installed PHP and mySQL on my Mac along with Zen Cart and I am trying to find the path to the Zen Cart directory for my site in my browser. I know it's a dumb question, but I have never used the localhost/whatever path before and I'm not sure what it is:

My files are in me-the-user/Sites/Directory, so wouldn't the path be http://localhost/me-the-user/Sites/Directory?

Jack
 
so since my user name is xero, my personal file sharing site would be http://localhost/~xero
that is the same for any user on the mac.

BUT the web sharing directory for the "computer" is /Library/WebServer/Documents/
so going to http://localhost/ will pull up the contents of that Documents folder.
 
Thank you. I worked through that successfully. Now, the setup is asking me for the db username and password. When I setup mysql, I don't recall setting those. Is there a default for those? I'm just customizing this site and testing on my local machine. Never worked with a database before.
 
Never mind that last question. I have learned that I setup mysql only on my Mac and not a db. I'll do that and see what's next.
 
Back
Top