I recently installed PHP using ./configure --with-pear=/usr/share/pear --with-sybase-ct=/usr/ --with-apxs2=/usr/sbin/apxs and everything compiled and installed fine. Now when I try to connect to a database using PEAR, it gets stuck in the DB::connect portion of the code and never returns anything, I just see a blank page.
EXAMPLE:
$dsn = array (
'phptype' => 'sybase',
'username' => 'xxx',
'password' => 'xxxx',
'hostspec' => 'xxxxx',
'database' => 'xxxxx',
);
echo "before connect\n";
// Connect to database
$db = DB::connect($dsn);
echo "after connect\n";
Now "before connect" prints out, but it never reaches "after connect".