Owncloud Pdoexception Could Not Find Driver

Posted on by admin
  1. Could Not Find Driver Php
  2. Error Could Not Find Driver

OwnCloud Forums. A board to discuss all kind of ownCloud topics. Skip to content. Search Advanced search. //central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today. An exception occured in driver: could not find driver by joerghildering » Sun Feb 14, 2016 12:33.

Active3 years, 9 months ago

So i always get a pdo exception when i try to create my db in the constructor of my Mapper class.on this line:

this is my dsn creation:

and finaly my constructor:

user2386317user2386317

2 Answers

Owncloud pdoexception could not find driver windows 7

The PHP contains a dll required by pgsql and pgsql_pdo driver libpq.dll...Add PHP binary path to system path or copy de DLL into Windowssystem32. On linux dependency are installed automatically.

rernestorernesto

I found article somewhere, works for me. Assuming you have installed PostgreSQL and your WAMP installation is on c:wamp, you will need to copy:

c:wampbinphpphp5.3.9libpq.dll to c:wampbinapacheApache2.2.11bin.

Make sure you also have the following files:

C:wampbinphpphp5.3.9extphp_pdo_pgsql.dll andC:wampbinphpphp5.3.9extphp_pgsql.dll

Also, make sure you have enabled the above 2 files as extensions, either via the WAMP menu (click on WAMP icon on taskbar: PHP > PHP extensions, find the above 2 and 'check' them).

Please note that php5.3.9 and Apache2.2.11 refer to my specific PHP and Apache versions.

Adjust those to suit your installation.

dKen
2,5341 gold badge18 silver badges31 bronze badges

Could Not Find Driver Php

Mohammad YusufMohammad Yusuf

Error Could Not Find Driver

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