PHP sqlite not working in 13.10
Posted
by
user97954
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user97954
Published on 2014-03-23T02:51:46Z
Indexed on
2014/06/02
16:00 UTC
Read the original article
Hit count: 442
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?
© Ask Ubuntu or respective owner