LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   propel - php 5.2: Unable to open PDO connection [wrapped: could not find driver] (https://www.linuxquestions.org/questions/programming-9/propel-php-5-2-unable-to-open-pdo-connection-%5Bwrapped-could-not-find-driver%5D-4175448880/)

eantoranz 02-06-2013 08:56 AM

propel - php 5.2: Unable to open PDO connection [wrapped: could not find driver]
 
Hi!

I'm using a php 5.2 (compiled by hand) apache2 module so to run one web application we have over here. I want to test propel to see if it's feasible to start using it. I have support for postgresql on this php module but when I try to run a query I get this error:

Code:

Unable to open PDO connection [wrapped: could not find driver]
We don't use pdo in our project but I guess it's included in propel. What am I missing?

eantoranz 02-06-2013 09:05 AM

i need to compile it with --with-pdo-pgsql, right? I guess that's missing. Let me try that.

eantoranz 02-06-2013 09:25 AM

I think that was it.


All times are GMT -5. The time now is 11:03 AM.