Cacti fails to run when dev-lang/php is compiled with USE="-pdo" (which is the default). Accessing the local cacti (via http) installation gives: Fatal error: Class 'PDO' not found in /var/www/cacti/htdocs/cacti/lib/database.php on line 52 Cacti versions 1.1.21 and 1.1.28 seem to be affected too. Reproducible: Didn't try Steps to Reproduce: 1. Install =net-analyzer/cacti-1.1.20 2. Configure cacti 3. Access it: http://localhost/cacti Actual Results: PHP outputs the following error message: Fatal error: Class 'PDO' not found in /var/www/cacti/htdocs/cacti/lib/database.php on line 52 Expected Results: Cacti's home page should show up. dev-lang/php-5.6.32::gentoo net-analyzer/cacti-1.1.20::gentoo www-servers/nginx-1.12.1::gentoo Compiling dev-lang/php-5.6.32 with USE="pdo" solved the issue.
Created attachment 517040 [details] emerge --info
Fixed. Thanks.