The issue I am facing:
Years ago other have had the same problem, however none ot their solutions worked for me.
it ran with apache2, here's the err log
[Fri Jan 19 08:26:22.981430 2024] [php:error] [pid 3551] [client 192.168.2.107:49727] PHP Fatal error: Uncaught Error: Undefined constant "SQLITE3_OPEN_READONLY" in /usr/share/pihole/scripts/pi-hole/php/database.php:57\nStack trace:\n#0 /usr/share/pihole/scripts/pi-hole/php/gravity.php(14): SQLite3_connect()\n#1 /usr/share/pihole/index.php(66): gravity_last_update()\n#2 {main}\n thrown in /usr/share/pihole/scripts/pi-hole/php/database.php on line 57, referer: http://192.168.2.222/pihole/index.php
Details about my system:
Ubuntu 22.04 and php-sqlite3 is installed.
What I have changed since installing Pi-hole:
performed the latest "apt update & upgrade"