Reputation: 297
I've looked at multiple posts about this issue on stackoverflow but i'm still having the same problem:
The following are listed in the php.ini file:
extension=php_pdo_pgsql.dll
extension=php_pgsql.dll
ENV File:
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_DATABASE=owe
DB_USERNAME=postgres
DB_PASSWORD=password
i restart apache, rebooted computer and i'm getting the following error when i do a migrate:
me$ php artisan migrate
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20121212/php_pdo_pgsql.dll' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20121212/php_pdo_pgsql.dll, 9): image not found in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20121212/php_pgsql.dll' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20121212/php_pgsql.dll, 9): image not found in Unknown on line 0
[PDOException]
could not find driver
Upvotes: 3
Views: 2341