#37497 [Opn->Bgs]: Nothing works
ID: 37497
Updated by: tony2001@php.net
Reported By: jwagoner at seminolesheriff dot org
-Status: Open
+Status: Bogus
Bug Type: PDO related
Operating System: Windows
PHP Version: 5.1.4
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-05-18 13:29:44] jwagoner at seminolesheriff dot org
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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37497&edit=1
Thread (3 messages)