php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37497 Nothing works
Submitted: 2006-05-18 13:29 UTC Modified: 2006-05-18 16:26 UTC
From: jwagoner at seminolesheriff dot org Assigned:
Status: Not a bug Package: PDO related
PHP Version: 5.1.4 OS: Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jwagoner at seminolesheriff dot org
New email:
PHP Version: OS:

 

 [2006-05-18 13:29 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-18 13:40 UTC] tony2001@php.net
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.


 [2006-05-18 16:26 UTC] wez@php.net
Good riddance.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 16:01:31 2024 UTC