php5-sqlite3 does not add PDO driver
Bug #178906 reported by
Brian Hysell
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-sqlite3 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: php5-sqlite3
Command executed: "sudo aptitude install apache2 libapache2-mod-php5 php5-sqlite3".
After restarting Apache, phpinfo(); shows that PDO has no database drivers installed, despite having installed the php5-sqlite3. Using PDO is the only way to access SQlite3 from PHP (except for some immature extension on PECL that models its API after the PHP extension for SQLite2, but that's not relevant here).
After installing SQlite2 for PHP ("sudo aptitude install php5-sqlite") and restarting Apache, both SQlite 2 and 3 are successfully added as PDO drivers.
To post a comment you must log in.
Oops, I forgot to mention that I'm running Ubuntu Gutsy Gibbon.