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
  •  


128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK picture

128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK

$799.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On picture

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On

$450.00



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1499.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Microsoft Windows Server 2022 Standard 64Bit 16 Core-50 CALs DVD With Key& picture

Microsoft Windows Server 2022 Standard 64Bit 16 Core-50 CALs DVD With Key&

$69.90



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99