Results 1 to 4 of 4

Thread: Apache 2 - how to configure "localhost"

  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
  •  


Vintage DEC E2052-AA  AlphaServer I/O Board 9 Gold Ceramic ICs 4.3 LB Gold Scrap picture

Vintage DEC E2052-AA AlphaServer I/O Board 9 Gold Ceramic ICs 4.3 LB Gold Scrap

$799.00



Vintage DEC Digital T1043 DWMBB/B VAXBI XMI Adapter 5018232-01 C1 VAX Board picture

Vintage DEC Digital T1043 DWMBB/B VAXBI XMI Adapter 5018232-01 C1 VAX Board

$119.99



Vintage DEC Digital XMI-A1 5017293-01A1 LWPR BE3-0 VAX Circuit Board T2012 picture

Vintage DEC Digital XMI-A1 5017293-01A1 LWPR BE3-0 VAX Circuit Board T2012

$74.99



Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7) picture

Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7)

$279.99



Vintage DEC VT100 Series Terminal (Powers On) picture

Vintage DEC VT100 Series Terminal (Powers On)

$499.99



Vintage DEC LK201 Digital Equipment Corporation (DEC) LK201-AA Computer Keyboard picture

Vintage DEC LK201 Digital Equipment Corporation (DEC) LK201-AA Computer Keyboard

$149.99



Vintage Digital VR241-A color CRT monitor, powers on, DEC Rainbow or terminal picture

Vintage Digital VR241-A color CRT monitor, powers on, DEC Rainbow or terminal

$150.00



VINTAGE DEC 54-20470-02 MULTI-PLANE SPX COLOR GRAPHICS CARD FOR VXT2000 TERMINAL picture

VINTAGE DEC 54-20470-02 MULTI-PLANE SPX COLOR GRAPHICS CARD FOR VXT2000 TERMINAL

$169.00



Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW picture

Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW

$269.99



Vintage DEC Digital VSXXX-AA.B03 Hawley 3-Button Mouse 1986 Tested Working picture

Vintage DEC Digital VSXXX-AA.B03 Hawley 3-Button Mouse 1986 Tested Working

$111.00