-
Junior Member
registered user
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
-
Senior Member
registered user
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
-
Junior Member
registered user
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
-
Senior Member
registered user
chances are you mysql serevr is not running. or you have no configured username and password for it.
Similar Threads
-
By ix86i in forum Customising & Remastering
Replies: 1
Last Post: 10-30-2004, 12:16 PM
-
By timread in forum Hardware & Booting
Replies: 2
Last Post: 02-01-2004, 08:02 AM
-
By oreo in forum General Support
Replies: 11
Last Post: 07-23-2003, 06:33 PM
-
By geebee2000 in forum Hardware & Booting
Replies: 9
Last Post: 05-21-2003, 07:29 PM
-
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
-
Forum Rules

NEW Cisco Meraki MS130-48P-HW 48-Port Gigabit PoE+ Cloud Manage Switch UNCLAIMED
$2999.99

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99

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

Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New
$101.99

Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch
$439.00

Cisco C9300-48UXM-A Switch 9300 Series 48-port UPoE Network
$874.99

New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US
$17.00

Cisco | N3K-C3232C | 32-Port 100G QSFP Network Switch W/ 2x PSU, 2x Power Cords
$240.00

Cisco Catalyst C9120AXI-B Wi-Fi 6 Access Points
$30.00

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00