PHP sqlite not working in 13.10
- by user97954
According to
>ls /etc/php5/mods-available/
I have a pdo.ini pdo_mysql.ini pdo_sqlite.ini sqlite3.ini
for example sqlite.ini contains:
; configuration for php SQLite module
; priority=20
extension=sqlite3.so
and
>php -i | grep pdo_
gives:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/pdo_sqlite.so' - /usr/lib/php5/20121212/pdo_sqlite.so: undefined symbol: sqlite3_column_table_name in Unknown on line 0 /etc/php5/cli/conf.d/20-pdo_mysql.ini,/etc/php5/cli/conf.d/20-pdo_sqlite.ini,
Simple stuff like this:
<?php
echo sqlite_libversion();
?>
Gives a blank page. Also phpliteadmin won't work either, complaining of no sqlite3 or pdo_sqlite, etc.
Been all over this planet's Internet chasing leads and clues to no avail. What's wrong?