View Single Post

  #1 (permalink)  
Old 12-13-2007
kamiseq
 
Posts: n/a
Default phpunit3 using PDO could not find driver postgres

i have phpunit installed as on the site(http://www.phpunit.de/
pocket_guide/3.2/en/installation.html).

im running simple tests (that actually have been running on sqlite
base) and I got that silly error that PDO could not find a driver for
my postgresql db. that is it PDOEXception could not find driver and
nothing else.

I made a test and everything works fine when I am connecting from
simple php file to pgsql. there is no problem with driver, connection,
user, pass, inserts and selects. thats why i suppose that phpunit
causes errors.

does anyone have any idea how to fix that?
Reply With Quote