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
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC picture

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC

$49.99



128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service picture

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service

$39.99



Digital Movie Poster (USB-flash drive) picture

Digital Movie Poster (USB-flash drive)

$100.00



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$269.10



USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB picture

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB

$8.47



Lot 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB picture

Lot 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB

$282.00



Windows 11 Pro Install/Recovery/Repair USB Flash Drive picture

Windows 11 Pro Install/Recovery/Repair USB Flash Drive

$35.00



SanDisk Ultra Luxe USB 3.1 Flash Drive – 5 Pack | Premium Metal USB Flash Drives picture

SanDisk Ultra Luxe USB 3.1 Flash Drive – 5 Pack | Premium Metal USB Flash Drives

$49.99