Web Design and Hosting Creating sites, scripting, and hosting discussions.

localhost?


Post Reply New Thread Subscribe

 
Thread Tools
ChronixPsyc

 
Member Since: Jan 05, 2011
Posts: 6
ChronixPsyc is on a distinguished road

ChronixPsyc is offline
Hi all, I was wondering if anyone could help me.

Ive been scouring the web for any answer to what my problem is and to me, it seems simple, and im just stupid, but I can't find where my localhost folder is on my mac. Everytime I go to http://localhost/ I get the <h3>It Works!</h3> but cannot for the life of me find the actual folder where its located.

Im trying to use phpmyadmin and need to find where localhost is to use it.

Thanks very much in advance.

Charlie
QUOTE Thanks
wheelguy

 
wheelguy's Avatar
 
Member Since: Jun 18, 2006
Location: Minneapolis
Posts: 191
wheelguy will become famous soon enough
Mac Specs: MacBook Pro

wheelguy is offline
it's the "sites" folder under your user account

If you aren't fired with enthusiasm, you will be fired with enthusiasm. -Vince Lombardi
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,313
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
The Sites folder in your user directory can be accessed by going to http://localhost/~<username> (replace username with your user name). The one you're looking for is at /Library/WebServer/Documents.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST.
QUOTE Thanks
ChronixPsyc

 
Member Since: Jan 05, 2011
Posts: 6
ChronixPsyc is on a distinguished road

ChronixPsyc is offline
OK so this is how ive installed phpmyadmin:

two_imac_2/Library/Webserver/Documents/phpmyadmin and typed in http://localhost/two_imac_2/phpmyadmin/ and this didnt work so I tried http://localhost/phpmyadmin/ and that didnt work either so I tried putting the phpmyadmin folder in two_imac_2/Sites/ and this didnt work with either of the above localhost addresses.

If im correct, I heard that apache is already installed on a mac automatically, is that right?

Ive also done the system preferences > Sharing > Web Server ticked.

Do I need anything else installed in order to do this?

Many thanks,

EDIT: Ok, I found my problem, I was using http://localhost/two_imac_2/phpmyadmin/ when I should have been using http://localhost/~two_imac_2/phpmyadmin/ but my problem now is that I dont get the same UI as most people using phpmyadmin, I get a parent directory. Can someone help me with whats gone wrong?

Last edited by ChronixPsyc; 01-13-2011 at 04:05 AM. Reason: Found it, still have a problem
QUOTE Thanks

Post Reply New Thread Subscribe


« mobile me says not enough space to publish podcast? | Can't manage old iWeb sites »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Display Freezes and eventually the computer Dermiroth OS X - Operating System 35 10-26-2010 02:50 PM
Macbook clean install error! thorsonb OS X - Operating System 5 01-17-2010 04:25 PM
Mac (map drives) disconnects more often harsha123 OS X - Operating System 0 06-24-2009 04:37 AM
Random shutdowns!! thebruiser Apple Notebooks 7 09-08-2008 02:51 AM
Mac Pro keeps crashing when using with KVM. where to start my investigation? AlexUK Apple Desktops 6 06-20-2007 05:50 AM

All times are GMT -4. The time now is 02:13 AM.

Powered by vBulletin
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?