Added checks for PDO extensions