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?
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()
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now