I've just installed PHP 5.3.3-7 on my Debian server and found that mysqli will work, but pdo doesn't.
$DBH = new pdo("mysql:host=$host;dbname=$dname", $user, $pass ) ;
$DBH->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );
echo '<p>Connected to database' ;
$DBH->prepare('DELECT name FROM people');
catch( PDOException $e )
echo "Error! " ;
echo $e->getMessage() ;
will just produce "Connected to database" but doesn't return and error and subsequent pdo queries do nothing (they work under windows and php 5.2.9)
Any thoughts (and thanks in advance)?