http://localhost/ restarts my computer...

Alles, was den Apache betrifft, kann hier besprochen werden.

http://localhost/ restarts my computer...

Postby skepticist » 17. September 2008 12:53

Hi,...

i have installed apache server with PHP and MySQL (apache_2.0.63-win32-x86-no_ssl, php-5.2.6-Win32, MySQL-Windows Essentials (x86)5.0.67) but when I write http://localhost/ into browser, my computer will restart... My OS - Windows XP Professional

When apache is turned off, it doesn't do that...

The eventlog after restart says:

Code: Select all
The Apache service named  reported the following error:
>>> httpd.exe: Could not reliably determine the server's fully qualified domain name, using 89.102.249.30 for ServerName     .


Please help. :(
..
User avatar
skepticist
 
Posts: 2
Joined: 17. September 2008 12:47
Location: Most, Czech Republic

Postby glitzi85 » 18. September 2008 00:22

Is there a special reason why you choose the v2.0 of the Apache? If no, why not just use XAMPP?

To your Problem:
Please post the content of the file: C:\Windows\system32\drivers\etc\hosts
Also look inside your httpd.conf for the ServerName and Listen directive and post both lines.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby skepticist » 18. September 2008 11:47

I tried Wamp server, the same problem...
oops.. sorry I have apache_2.2.9-win32-x86-no_ssl-r2

content of the file: C:\Windows\system32\drivers\etc\hosts
Code: Select all
127.0.0.1       localhost


httpd.conf
Code: Select all
#ServerName localhost:80

#Listen 12.34.56.78:80
Listen 80
..
User avatar
skepticist
 
Posts: 2
Joined: 17. September 2008 12:47
Location: Most, Czech Republic


Return to Apache

Who is online

Users browsing this forum: No registered users and 5 guests