I have installed php 5.1.4 and mysql 5.0.18 on my windows 2003 box with IIS6. I followed the instructions to make php work with mysql. I copied the libmysql.dll and the php5ts.dll to the c:\windows\system32. I can see everything on in the phpinfo page as loaded. However, when I run the script below (off of php website) I get nothing but a blank screen. I can get other php scripts to work, but nothing with mysql.
<?php
$link = mysqli_connect("localhost", "root", "password", "pce");
/ check connection /
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
printf("System status: %s\n", mysqli_stat($link));
mysqli_close($link);
?>
Thanks for any help that you might be able to provide.
A