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

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1299.99
IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99
Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00
Rare Vintage IBM 93ZZ PowerPC Server Board - MCM Ceramic CPU - 40N1844 - 1.1 lbs
$49.99
IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5" Server Hard Drive
$200.00
IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$110.30
IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99
IBM Power S824 12Bay 4U Server - 2x Power8 CPU, 512GB DDR4, MT: 8286-42A
$1731.00
IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99
DEFECTIVE IBM SYSTEM X3530 M4 7160AC1 Server 2INTEL XEON E52430L 0 80GB G3D
$142.50