ID:               34587
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         PDO related
 Operating System: Windows XP Professional
 PHP Version:      5.1.0RC1
 New Comment:

Are you sure pdo_sqlite has been loaded? Try php -m.


Previous Comments:
------------------------------------------------------------------------

[2005-09-21 20:41:02] [EMAIL PROTECTED]

Description:
------------
A PDO::__construct() throwed an exception when I tried to open sqlite
database, seem no driver for sqlite.

My dsn is work fine in PHP 5.0.5.

Reproduce code:
---------------
<?php
$dbh = new PDO('sqlite:D:/DB/SQLite/test.db3');
?>

Expected result:
----------------
$dbh is a PDO object.

Actual result:
--------------
Fatal error: Uncaught exception 'PDOException' with message 'could not
find driver'


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34587&edit=1

Reply via email to