nobody any idea?![]()
hi all
i'd like to do some php work on a hd install of knoppix, so i need a working apache server with php support and a mysql database.
i know, i simply could install xampp or something similar, but i'm interested how i could configure the system on my own (if it is not too hard).
do you have any suggestions for me where to start? i'm an absolute newbie, on windows i used xampp...
thank you for help.
josh
nobody any idea?![]()
Josh, it's all there already.
As root do:
/usr/sbin/apache
in an editor create this file:
<?php phpinfo(); ?>
save it as
phpinfo.php
and copy it to /www/var/
pop open a web browser and enter:
http://localhost/phpinfo.php
and there you have it: php and Apache working in perfect harmony.
I'll leave you to sort out MySQL yourself (it's already in Knoppix) , but there is an excellent manual and plenty of tutorials on line.
oh man i'm so intelligent!
ok, already found it out with my knoppix book... but i can't connect to mysql... i'll search for some tutorials first before asking other stupid questions.thank you.
hrm ok i think i don't get it on my own...
when i enter "mysql" in a command line it tells me
Can't connect to local MySQL Server through socket '/var/run/mysqld/mysqld.sock' (2)
i have no idea what this mysqld.sock is, but i created such a file in /var/.... and retried:
Can't connect to local MySQL Server through socked '/var/run/mysqld/mysqld.sock' (111)
so only the number in the end has changed at all...
what can i do? apache is running, and php is working, too... :-/
thanks for help!
Josh

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡
$109.99
Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed)
$361.91
Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P
$149.99
Juniper EX4300-32F 32-Port SFP Gigabit Switch EX 4300 w/ Rack Ears
$89.99
Juniper MX204 +JUNOS and Dual Power Supply
$7299.99
Juniper EX4650 Ethernet Switch
$35200.99
$6392.99
Juniper EX4100-24P Ethernet Switch
$6983.99
Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management
$249.97
Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch
$245.00