Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-10-2009, 03:38 PM   PM User | #1
Kev0121
New Coder

 
Join Date: Mar 2009
Posts: 97
Thanks: 10
Thanked 0 Times in 0 Posts
Kev0121 is an unknown quantity at this point
Wamp problem

Well ive got wampserver 2.0 installed, and my localhost doesnt seem to be working, not even phpmyadmin works but when i left click on the wamp icon in the morning and select localhost i get "It works!" but that file isnt in my www directory?

Kevin
Kev0121 is offline   Reply With Quote
Old 03-10-2009, 03:40 PM   PM User | #2
rafiki
Senior Coder

 
rafiki's Avatar
 
Join Date: Aug 2006
Location: Floating around somewhere...
Posts: 2,034
Thanks: 18
Thanked 42 Times in 42 Posts
rafiki will become famous soon enough
Try using XAMPP from ApacheFriends.
A quick Google search should provide a link.
__________________
Get Firefox Now
rafiki is offline   Reply With Quote
Old 03-10-2009, 04:02 PM   PM User | #3
Kev0121
New Coder

 
Join Date: Mar 2009
Posts: 97
Thanks: 10
Thanked 0 Times in 0 Posts
Kev0121 is an unknown quantity at this point
Hey, thanks i installed it and wheres the www folder for xamp?
also ive ran the localhost and it gives same message so might not work hehe

Kevin
Kev0121 is offline   Reply With Quote
Old 03-10-2009, 04:14 PM   PM User | #4
rafiki
Senior Coder

 
rafiki's Avatar
 
Join Date: Aug 2006
Location: Floating around somewhere...
Posts: 2,034
Thanks: 18
Thanked 42 Times in 42 Posts
rafiki will become famous soon enough
Mine is in C://xampp/htdocs/ But not sure if that is default. Check C://Program Files/XAMPP/htdocs.
You must start the service first. Then go to http://localhost/ to see the XAMPP welcome page.
__________________
Get Firefox Now
rafiki is offline   Reply With Quote
Old 03-10-2009, 04:16 PM   PM User | #5
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,292
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Quote:
Originally Posted by Kev0121 View Post
Hey, thanks i installed it and wheres the www folder for xamp?
also ive ran the localhost and it gives same message so might not work hehe

Kevin
Did you uninstall WAMP first? Thats likely why you got the same message. WAMP could be running apache still. Remove WAMP. Then start Apache in xampp. Your files go in the htdocs folder within the xampp folder.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 03-10-2009, 04:32 PM   PM User | #6
kokjj87
Regular Coder

 
kokjj87's Avatar
 
Join Date: Sep 2008
Location: Singapore
Posts: 279
Thanks: 1
Thanked 55 Times in 54 Posts
kokjj87 is on a distinguished road
The "It works!" message means that the apache server is working correctly...

The "It works!" page is store in a html page, and it is not necessary that it must be in the www(root of the webserver), there is one module on the apache call mod_alias which allows a specific file/folder to be appear like they are in the server root..

One good example of mod_alias module, is in the installation of XAMPP, XAMPP comes with phpmyadmin, and it is not in the server root, but you can access it by http://localhost/phpmyadmin

I would suggest that you place a file into your www and test it first...

Last edited by kokjj87; 03-10-2009 at 04:35 PM..
kokjj87 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 08:06 PM.


Advertisement
Log in to turn off these ads.