From:             jwagoner at seminolesheriff dot org
Operating system: Windows
PHP version:      5.1.4
PHP Bug Type:     PDO related
Bug description:  Nothing works

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 bug report at http://bugs.php.net/?id=37497&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37497&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=37497&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37497&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37497&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37497&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37497&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37497&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37497&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37497&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37497&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37497&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37497&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37497&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37497&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37497&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37497&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37497&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37497&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37497&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37497&r=mysqlcfg

Reply via email to