Create a new test php page with the following in it:
<?php phpinfo() ?>
When you look at that page it will tell you where your php.ini file should be. That's the file that needs the php_mysql.dll uncommenting.
I was originally having the blank page problem. I copied markl999's code with the debugging echos in it and the page appeared. I then changed
$dbcnx = @mysql_connect('localhost', 'root', 'mypasswd');
$dbcnx = mysql_connect('localhost', 'root', 'mypasswd') or die(mysql_error());
And received this error: Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\jokes.php on line 22
Next I uncommented the php_mysql.dll line. The browser then gave me an error saying php_mysql.dll could not be found. That is when I realized that the extension folder didn't exist. So I downloaded it and made sure all the necessary dll's are there. When I go to run jokes.php It's now giving me this error:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - Access is denied. in Unknown on line 0
Why is it saying access denied? All permissions on that folder/file are normal.