I admit it. I am a newb to PHP. I have been trying to get the pdo drivers to work with no success. I get an error "could not find driver". I think I have the php.ini file setup correctly but here is my setting just in case.
extension=php_pgsql.dll
extension=php_pdo.dll
extension="php_pdo_pgsql.dll"
Any help would be very much appreciated.
UPDATE: Looks like I am missing the php_pdo_pgsql.dll file in my php ext directory. Any idea where I can find it? I can't seem to find it via google. I have found the source but I don't really have the setup to compile. I have php version 5.3.2 loaded and the docs say the dll should be there but it is not.
anyone know where I can get the php_pdo_pgsql.dll file?
Thanks
Can't get pdo to work with Postgres
Moderator: General Moderators
-
jimboidaho
- Forum Newbie
- Posts: 8
- Joined: Wed Jul 07, 2010 11:33 am
-
jimboidaho
- Forum Newbie
- Posts: 8
- Joined: Wed Jul 07, 2010 11:33 am
Re: Can't get pdo to work with Postgres
Any Suggestions?
Re: Can't get pdo to work with Postgres
Have you tried to connect using the PostgreSQL PHP functions?
The PostgreSQL server is running?
If the database is running and you can connect to it then repair or reinstall PHP if you still want to use PDO.
The PostgreSQL server is running?
If the database is running and you can connect to it then repair or reinstall PHP if you still want to use PDO.
-
jimboidaho
- Forum Newbie
- Posts: 8
- Joined: Wed Jul 07, 2010 11:33 am
Re: Can't get pdo to work with Postgres
Thanks for your reply. I can connect to Postgres using the other php functions. I have tried reinstalling php with no success. Is there any issues running wind7 64bit?