MySQL PHP and Apache not working?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
munkifisht
Forum Newbie
Posts: 14
Joined: Wed Oct 11, 2006 9:15 am

MySQL PHP and Apache not working?

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Save yourself the headache and install an all-in-one package such as Xampp

http://www.apachefriends.org/en/xampp.html
munkifisht
Forum Newbie
Posts: 14
Joined: Wed Oct 11, 2006 9:15 am

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

http://www.apachefriends.org/winxampp/readme_en.txt says there's no password set by default.
munkifisht
Forum Newbie
Posts: 14
Joined: Wed Oct 11, 2006 9:15 am

Post by munkifisht »

thanks a load feyd, that is the buisness. Everything seems to be up and running just fine now.
Post Reply