Test the connexion to a DB in PHP