Pls try http://127.0.0.1 and see if that works
Hi everybody.
I've been trying to start apache2 in Knoppix 5.0.1 and keep getting the same error:
Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
After this, when trying to access http://localhost/ firefox gives a blank page and konqueror prints "Connection to host localhost is broken"
Is there some configuration file y need to modify to get it to work? Im using /var/www for server root
I have also noticed that there are several configuration files so i dont know which one to use
Thanks in advance
Pls try http://127.0.0.1 and see if that works
Are you using the command: /etc/init.d/apache2 start
to start the web server ?
I believe the configuration file is: apache2.conf
Thanks for the response.
- http://127.0.0.1 does exactly the same thing as http://localhost .
- apache2.conf seems configured ok
- To start the server i've tried both "/etc/init.d/apache2 start" and "/etc/init.d/apache2ctl start" , both give the same error message and neither work.
am i putting my php scripts in the wrong place (/var/www)?
is there some script i need to run before atempting to start apache2?
Where is php.ini by the way? Do i need to chagne something there?
It's kind of frustrating, in knoppix 3.6 everything worked just fine without the need for any modifications. The only reason im trying 5.01 is because my site uses a newer version of mysql.
Thanks for your help.
Do you mean "/etc/apache2/apache2.conf" ?Originally Posted by brass
I do believe /var/www is the Document Root. What about File Permissions ? Have you made
the Scripts in the /var/www accessible ?
I believe the php.ini file is in the /etc/php4/apache2 directory.
You might check its settings for: Display Errors, log errors, log error file.
The error messages clears if you add the following line to apache2.conf :
ServerName localhost
Now apache2 starts nice and silently. The thing is (and i know how crazy this sounds) the server only answers to https requests so https://localhost works fine (you have to accept all those certificates before it does) but http://localhost doesn't. And even more: in php.ini the line that loads mysql module is commented and with a typo it sez msql.so where it should be mysql.so
I hope this is helpfull to people with the same problem (the https issue makes me wonder though)

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00
Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00
Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99
Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter
$225.00
HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS
$164.97
Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*
$369.99
Supermicro E200-8D Mini Server Xeon D-1528 6-Core 64GB ECC 1TB SSD 2x10GbE IPMI
$525.00
New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99
$280.00
Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99