Php Postgresql Could Not Find Driver

  
Active1 year, 8 months ago
  1. I am trying to connect PostgreSQL with Laravel 5.0 but facing exception 'Could not Find Driver in PostgreSQL'. I have tried this solution but cannot connected with PostgreSQL stackoverflow answer.
  2. Install pdo for postgres Ubuntu. Could not find driver' in Laravel Homestead – Ben Wilson Jun 19 '17 at 8:32. How do I enable php to work with postgresql?

I am trying to enable the pdo driver for my php installation, but when I runn the command

PDO Exception: Could not find driver. And I uncommented the line containing the pgsql pdo extension in my fpm/php.ini. But after restarting postgresql, I still.

I get

I install postgresql in that directory

I installed postgresql 9.0.4.1 using the bin package and using php 5.3

Richard PérezRichard Pérez
6772 gold badges11 silver badges18 bronze badges

5 Answers

Pecl PDO package is now deprecated. By the way the debian package php5-pgsql now includes both the regular and the PDO driver, so just:

Apache also needs to be restarted before sites can use it:

Https epson drivers. Download Epson Stylus C43SX Driver for Windows XP Professional Download Epson Stylus C43SX Driver for Windows XP - Epson Stylus.

AlexAlex

Try the packaged pecl version instead (the advantage of the packaged installs is that they're easier to upgrade):

or, if you just need a driver for PHP, but that it doesn't have to be the PDO one:

Otherwise, that message most likely means you need to install a more recent libpq package.You can check which version you have by running:

Dave Jarvis
21.9k30 gold badges135 silver badges262 bronze badges
wildpeakswildpeaks
6,5012 gold badges22 silver badges32 bronze badges

If you're using the wonderful ondrej/php ubuntu repository with php7.0:

For ondrej/php Ubuntu repository with php7.1:

Same repository, but for php5.6:

Concise and easy to remember. I love this repository.

Dylan PierceDylan PiercePhp
1,9201 gold badge17 silver badges28 bronze badges

PDO driver for PostgreSQL is now included in the debian package php5-dev. The above steps using Pecl no longer works.

Dell 1501 drivers download

WillWill

Could Not Find Driver Sql Laravel

joan16vjoan16v

Could Not Find Driver

3,7622 gold badges41 silver badges43 bronze badges

Windows Could Not Find Driver Software

Not the answer you're looking for? Browse other questions tagged postgresqlpdo or ask your own question.