|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2006-05-18 13:40 UTC] tony2001@php.net
  [2006-05-18 16:26 UTC] wez@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Thu Oct 30 23:00:01 2025 UTC | 
Description: ------------ PDO does not work on Windows. Reproduce code: --------------- Any of these: $dbconn = new PDO('mssql:host=localhost;dbname=blah', 'blah', 'blah'); $dbconn = new PDO('dblib:host=localhost;dbname=blah', 'blah', 'blah'); $dbconn = new PDO('odbc:testodbc', 'blah', 'blah'); $dbconn = new PDO('odbc:testodbc'); Expected result: ---------------- Umm.. for it to connect. Actual result: -------------- A "could not find driver" error. PHP file has every single one.. extension=php_pdo.dll extension=php_pdo_mssql.dll extension=php_pdo_odbc.dll And nothing works. Every other DLL works fine. I can't use dl() because windows sucks. No documentation what-so-ever helps windows users. I would love not to use this piece of crap, but don't really have a choice. At this point I'm about to ditch PDO.