Page 1 of 1

MySQL PHP and Apache not working?

Posted: Mon Oct 16, 2006 4:16 pm
by munkifisht
Hi there, I am hopeing that someone can help me with some major problems I have been having, I have tried everything I can think of to get this fixed but can't figure it out at all...

Ok, so I am using PHP 5.1.6.6, Apache 2.0.59, and MySQL 5.0.26. I have tried to get the three of these to work together but no matter how hard I try I can't get it going. I have been at it for two weeks now and I am at the end of my tether. I have had PHP talking to Apache, and MySQL is working through the command prompt, but I can't get a simple php script to talk to mysql properly. I have gone back to basics, I have removed everything from my machine and it's all back to scratch. Could someone please take the time to talk me through the instillation as I must be making some mistake along the way. Thanks.

Posted: Mon Oct 16, 2006 6:01 pm
by feyd
Save yourself the headache and install an all-in-one package such as Xampp

http://www.apachefriends.org/en/xampp.html

Posted: Mon Oct 16, 2006 10:09 pm
by munkifisht
fAntastic, thanks for that, just one thing though, what are is the root user and password and server fro mysql set to as i can't seem to access it.

Posted: Mon Oct 16, 2006 10:12 pm
by feyd
http://www.apachefriends.org/winxampp/readme_en.txt says there's no password set by default.

Posted: Tue Oct 17, 2006 9:00 am
by munkifisht
thanks a load feyd, that is the buisness. Everything seems to be up and running just fine now.