- Installed Debian on Raspi Pi
- installed php, php-sqlite, sqlite3, snmpd, snmp
- Downloaded from Github the cacti files an stored them in /var/www/cacti
- Created a Database in /var/lib/sqlite/cacti.db an run the sql-script ( the tables would be created)
sqlite3 /path/to/cacti.db < cacti-sqlite.sql
- entered the path entry in include/config.php ($database_port = "/var/lib/sqlite/cacti.db";)
- configure web server
- Run /cacti and follow the usual cacti installation process.
Q1. PHP Fatal error: pdo error: [-1: Connection attempt failed: could not find driver] in CONNECT(sqlite:/var/lib/sqlite/cacti.db, '', '', )\n in /var/www/cacti/lib/adodb/adodb-errorhandler.inc.php on line 77
A1.
- check whether php-sqlite3 installed
- check cacti.db ownship and group ,MUST have right to write for web server( user/group www-data for nginx)