PHP extension missing - plugin will not work

 SQLite & PDO SQLite support missing in this PHP install - plugin will not work

Solution: https://forum.yunohost.org/t/dokuwiki-sqlite-pdo-sqlite-php/9542/2

Resolved:

php --version
apt search php | grep sqlite
apt show php7.2-sqlite3
apt install php7.2-sqlite3
service apache2 reload

Sample output:

root@my-server:~ sudo apt install php7.2-sqlite3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  php7.2-sqlite3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.8 kB of archives.
After this operation, 115 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 php7.2-sqlite3 amd64 7.2.24-0ubuntu0.18.04.7 [25.8 kB]
Fetched 25.8 kB in 1s (50.6 kB/s)
Selecting previously unselected package php7.2-sqlite3.
(Reading database ... 190627 files and directories currently installed.)
Preparing to unpack .../php7.2-sqlite3_7.2.24-0ubuntu0.18.04.7_amd64.deb ...
Unpacking php7.2-sqlite3 (7.2.24-0ubuntu0.18.04.7) ...
Setting up php7.2-sqlite3 (7.2.24-0ubuntu0.18.04.7) ...
Creating config file /etc/php/7.2/mods-available/sqlite3.ini with new version
Creating config file /etc/php/7.2/mods-available/pdo_sqlite.ini with new version
  • /home/nwxugrbe/www/html/lntn203.com/wiki/data/pages/wiki/dokuwiki-troubleshooting/sqlite-pdo-sqlite-support-missing-in-this-php-install-plugin-will-not-work.txt
  • Last modified: 2 years ago
  • by 127.0.0.1