Xampp doesn't work!!

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Xampp doesn't work!!

Postby gbmpereira » 28. April 2009 12:55

Hi.

I installed XAMPP on my Windows Vista Home Premium, in the folder C:\XAMPP
The localhost is not working, in any browser...
And when I open the XAMPP Control Panel, just Apache is running, although I put MySQL as a service too.

It is probably a newbie question, but what could be the problem??

Thanks
gbmpereira
 
Posts: 8
Joined: 23. September 2008 13:26

Re: Xampp doesn't work!!

Postby Sharley » 28. April 2009 12:58

Would you please delete your other post in the German language forum.
Thanks.


Can you access the XAMPP Welcome page using http://127.0.0.1 in your browser?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Xampp doesn't work!!

Postby gbmpereira » 28. April 2009 13:04

Sharley wrote:Would you please delete your other post in the German language forum.
Thanks.


Can you access the XAMPP Welcome page using http://127.0.0.1 in your browser?


Sorry I didn't want to post there.
Yes I can!! So it works... why can't I use localhost?

Thanks
gbmpereira
 
Posts: 8
Joined: 23. September 2008 13:26

Re: Xampp doesn't work!!

Postby Sharley » 28. April 2009 13:11

There is an IPv6 entry in the Windows host file that Apache can't use which is causing it not to recognize localhost.

Go to C:\Windows\system32\drivers\etc\Hosts file and open it in your text editor (in Vista right click on the Notepad link and select to run as administrator which will eliminate an error when trying to save the Hosts file).

Find this line:
::1 localhost

Comment it out so it looks like this:
# ::1 localhost

Make sure that you now have these 2 lines at the beginning of the uncommented section of your Hosts file:
127.0.0.1 localhost
# ::1 localhost


Save the file and then try http://localhost again.

Kindly let us know if that fixes the localhost issue and if you still have issues with the MySQL not starting.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 39 guests