Hey, all. I am having to move hosting providers from Apache to IIS 6.0 on a Windows 2003 box. The site relies heavily on PEAR (version 1.95) and DB (version 1.80). I have a MySQL database set up, and using the raw mysql_connect() functions from PHP and such, I am able to make a query and retrieve/modify data.
However, if I even try to connect using the DB abstraction layer, the output just truncates:
Starting.
<p>
<?
require_once("includes/DB.php");
$db = DB::connect("mysql://user:password@localhost/database");
if (PEAR::isError($db)) {
die($db->getMessage());
}
$db->disconnect();
?>
<p>
Finished.
(Where the DSN is correct with user/pass/db), I just get "Starting." The output just ceases there, and no error is returned.
It seems like it wouldn't just stop and would at least error out, or do nothing and print "Finished", but it doesn't. Errrrr.
What the hell am I doing wrong? I've looked over this for 4 hours now, and nothing works. It's obviously central to DB or PEAR (or Windows), and it's infinitely frustrating.
Thanks for your help.