Jump to content

Recommended Posts

Posted

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...