Results 1 to 4 of 4

Thread: Apache 2 - how to configure "localhost"

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    May 2005
    Location
    Venezuela
    Posts
    25

    Apache 2 - how to configure "localhost"

    I installed Knoppix 3.8.1,and i just install Apache2, but at startup the next mesagge appears (or somethnig like)

    Could not determine the server fully qualifiqued name, assumes 127.0.0.1

    The effect is....

    I cant connect to localhost using for example

    http://localhost/my-host-Directory/index

    It didnt works..... how y configure the localhost correctly.....

    Ohhh.... i forgot that the file extention for index is php, and i installed the php4 for knoppix

    the other problem is when i try to connect to a MySql Database... the error that show is

    Call to undefined function : mysql_connect() in....aut_verifica.inc.php

    How i correct this

    I know that there are a lot of topics here but i appreciate a lot your help

    Frank

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    You probably need to configure the apache2 server first before trying to run it. Things like the server name, how to server up files & directories, loadable modules are all set in the config files. Look for a httpd.conf in /etc/httpd/ or /etc/apache. Use google or visit the apache site for the documentation.

    I hope this helps.
    James

  3. #3
    Junior Member registered user
    Join Date
    May 2005
    Location
    Venezuela
    Posts
    25

    Apache 2 - how to configure "localhost"

    I resolved the first problem un-installing and re-installing apache2 and phpmyadmin..... at least it works and the message still appears

    the second problem "mysql_connect()" is still make a headache to me

    if someone have any solution i aprecciate a lot

    thanks.

    Frank

  4. #4
    Senior Member registered user
    Join Date
    Oct 2004
    Location
    london town
    Posts
    220
    chances are you mysql serevr is not running. or you have no configured username and password for it.

Similar Threads

  1. startx with "root" and not with "knoppix"
    By ix86i in forum Customising & Remastering
    Replies: 1
    Last Post: 10-30-2004, 12:16 PM
  2. Configure "thumb button" on a Logitech Cordless Mo
    By timread in forum Hardware & Booting
    Replies: 2
    Last Post: 02-01-2004, 08:02 AM
  3. "Connection Reset by Peer" or "hang"
    By oreo in forum General Support
    Replies: 11
    Last Post: 07-23-2003, 06:33 PM
  4. "Foreign" drive formats and "dd" command
    By geebee2000 in forum Hardware & Booting
    Replies: 9
    Last Post: 05-21-2003, 07:29 PM
  5. Locate Knoppix "group" in "K" menu
    By Juny in forum General Support
    Replies: 4
    Last Post: 03-14-2003, 09:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S... picture

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...

$9.64



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$36.98



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99