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

SK Hynix 32GB 2RX4 PC4-2666V DDR4 RDIMM Server Memory RAM, HMA84GR7AFR4N-VK
$169.95
Hynix & Samsun (Lot Of 36) 4GB 2Rx8 PC3L-10600R DDR3 Server Memory 144GB Total
$120.00
SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory
$159.98
Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)
$89.99
MTA36ASF4G72PZ-2G9E2 MICRON 32GB (1X32GB) 2RX4 PC4-2933Y MEMORY
$229.00
Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90
Samsung 32GB DDR4 2933MHz PC4-2933Y 2Rx4 RDIMM ECC Server RAM M393A4K40CB2-CVFBY
$270.00
lot of 5 SK Hynix 32GB (160GB) PC4-2666V ECC Server RAM HMA84GR7CJR4N-VK Tested
$1000.00
Micro SD Adapter To SD HC SDHC Memory Card Adapter Reader NEW
$1.39
x4 Intel 128GB NMB1XXD128GPS Optane Memory 200 Series PMEM Module 3200 DDR4 RAM
$329.99