PostgreSql 'PDOException' with message 'could not find driver'

后端 未结 9 1891
悲&欢浪女
悲&欢浪女 2020-12-09 15:30

pdo is working fine with mysql but with pgsql its giving error \'PDOException\' with message \'could not find driver\' I\'ve installed php5-pgsql p

9条回答
  •  忘掉有多难
    2020-12-09 15:50

    Make sure you've uncommented the line that tells php where the Postgres driver is (usually extension=pgsql.so) in the main php.ini file.

提交回复
热议问题