Pdo fails : could not find driver
Posted by: yuvaly (---.65.85.56.dynamic.barak-online.net)
Date: September 11, 2012 10:45PM

Hi

I have installed wamp, and pdo doesn't seem to work.
I have tried enabling php_pdo_mysql from php exstensions, it appears checked but nothing changes in phpinfo , and the message "could not find driver" is still disabled.
these are the 2 relevant lines from php info:
PDO support enabled
PDO drivers no value

also, this seemed a bit strange to me -
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--without-dblib" "--without-pdo-dblib" "--without-pdo-mssql" "--with-pdo-oci=C:\php-sdk\php54dev\vc9\x64\deps\instantclient_10_2\sdk,shared" "--with-oci8=C:\php-sdk\php54dev\vc9\x64\deps\instantclient_10_2\sdk,shared" "--with-oci8-11g=C:\php-sdk\php54dev\vc9\x64\deps\instantclient_11_2\sdk,shared" "--disable-debug-pack" "--disable-static-analyze"

Thanks
Yuval

Options: ReplyQuote
Re: Pdo fails : could not find driver
Posted by: RiggsFolly (---.as13285.net)
Date: September 20, 2012 03:11PM

Looks like you have the 64 bit version installed.

It may be better to go to the 32 bit version as it has more extensions and they all work where some of the 64 bit extension can be a bit flakey.

Options: ReplyQuote


Sorry, only registered users may post in this forum.