This is a discussion on phpunit3 using PDO could not find driver postgres within the PHP Language forums, part of the PHP Programming Forums category; i have phpunit installed as on the site(http://www.phpunit.de/ pocket_guide/3.2/en/installation.html). im running ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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? |
|
|||
|
kamiseq wrote:
> ok so solution is to set system variable PHPRC to point to your > php.ini if your php.ini is in other location than PHP_HOME > > take care > That's one way. Another it just make sure the php.ini file the system is using is the one you're changing. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== |