matikycz Posted August 20, 2014 Posted August 20, 2014 Hi, I'm new on this server and I have some problem.I want to use postgresDB in PHP and I use PDO to achieve it. On my localhost that was simply, but here i have some problems. $db = new PDO('pgsql:host=localhost port=5432 dbname=NAME_OF_DB user=USER_NAME password=PASSWORD'); This statement work correct, but i get error "could not find driver". How can I add drivers to my account to solve the problem? Quote
wolstech Posted August 20, 2014 Posted August 20, 2014 Easiest fix is to move to stevie. We don't have PDO for Postgres on Johnny from what I can see on phpinfo() Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.