PDOException: could not find driver (postgres)

From: Date: Thu, 22 Apr 2010 10:16:46 +0000
Subject: PDOException: could not find driver (postgres)
Groups: php.db 
Request: Send a blank email to php-db+get-47076@lists.php.net to get a copy of this message
What could be causing this please? Going direct, using pg_connect, is not a problem. The code in question looks like $pdo = new PDO('pgsql:host=localhost;port=5432;dbname=mydb', 'dbuser', 'dbpass'); (I think - I've yet to be able to debug it down to a single line)

« previous php.db (#47076) next »