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

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99
Intel Core i7-8700 3.2 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3QS
$67.99
INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99
LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$768.00
Intel SR3XE Core i5-8500 3.0GHz 9M Socket 1151 6-Core CPU Processor *Tested*
$32.99
Intel Core i7-3770K 3.5 GHz Processor
$39.00
Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor
$14.49
Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor
$62.95
AMD - Ryzen 7 5800X3D 8-Core - 16-Thread 3.4 GHz (4.5 GHz Max Boost) w/ Ice Pad
$355.99
Evergreen 586 - Processor upgrade 486 to 586
$149.99