Hmm... That's strange. Normally there would be an error. What web browser are you using? When you get to that "white page," try looking at the source for the page. In Firefox, this would be View > Page Source (or do Ctrl+U). The source may hint at what's going on. Is the document empty? Does it contain any messages? If you don't know how to read HTML, you can post the source to this thread.
My best guess is that you have PHP installed but it isn't working properly. A default PHP install will deliver error messages, but there is a flag that suppresses these errors, so if a page render encounters and error, it displays a blank page instead.
When you were doing "Step 1: Get a LAMP Stack" did all the tests work? Did the simple PHP page show up properly?
If so, modify that test page like so:
Code:
$ sudo nano /var/www/test.php
And put this php code:
Code:
<html>
<head>
<title>Test Page</title>
</head>
<body>
Test page<br />
<?php
echo 'If you can see this text, then PHP is working.';
phpinfo();
?>
</body>
</html>
Then go to
http://localhost/test.php
You should see the "...then PHP is working" message, plus a long listing of your PHP install. If this doesn't work, then your PHP is not working. If this listing does show up, you'll have all kinds of version information. See if it reports any errors.
Also, look through that and make sure that it has the mysql module installed. Also look for a line that says "display_errors" and see if that is "On" or "Off"... if it's "Off" then you should change your PHP config file so that it displays errors. This will help alot with getting things working.
Good luck! Let me know how it works out!
Bookmarks