Hi ho,
I've been trying to install PHP, MySQL and Apache onto a laptop and it's proving to be a TOTAL nightmare.
Sure enough, I've tried loads of "easy install" packages like PHP Triad and Easy (ha!) PHP. They all promise a simple two clicks and you're away setups, but all they have brought so far is heartache.
Anyway, I've ended up downloading and installing PHP from PHP.net, MySQL from the makers of that and Apache from the official Aphace site.
The good news is that I can now go into the MySQL bin folder and open up the MySQL monitor (the wee DOS box that let's you talk to MySQL) Horay for that!!!! I can also switch on Apache and go to localhost (on internet explorer) and I get a nice welcoming screen.
BUT, when I try to write and view any PHP files all I get when I view the page is the raw PHP script.
So, if I type
<?php
print "Hello world";
?>
...and save it as hello.php on the localhost folder, then when I go to localhost/hello.php, all I see is a webpage that literally say;
<?php
print "Hello world";
?>
It's as if Apache and PHP aren't talking to each other.
Can anyone PLEASE help me with this????
(using Windows XPs)