To test pdo in php?

Yuzayu OpenServer. in phpinfo postgrado set, but when

$dbh = new PDO("pgsql:host=localhost;port=5432;dbname=mydb;user=postgres;password=postgres;charset=utf8");

get 500 error. how to check serviceability?
July 9th 19 at 10:16
0 answer

Find more questions by tags PHP PDO