Current version of Cacti pkg (cacti-0.8.8g_1) doesn't appear to install / depend on 'php56-mysql': 'pkg info -d cacti' shows a dependancy on 'php56-mysqli'. With a fresh 10.3-R system, doing 'pkg install cacti' (and then setting up Apache + PHP) results in a system that gives you a blank screen when you try to access the Cacti index.php screen. Strangely - no errors are given or logged, but having traced through the code - this appears be to because 'php56-mysql' is not installed. Installing 'php56-mysql' fixes the problem - visiting the index.php page after installing that package, cacti walks you through the '/install' setup - and then works. -Karl
(In reply to kpielorz from comment #0) I'll take a look... there's no reason for anything to depend on php*-mysql these days (it doesn't even exist past 5.6!) I'll see if I can find out why cacti isn't using mysqli.
(In reply to kpielorz from comment #0) it seems cacti's installer specifically checks for the mysql extension (even though it doesn't require it) *sigh* I'll do a patch to sort that out. If you don't want to wait, you can edit the file "/usr/local/share/cacti/install/index.php" on line 66 and change "mysql" to "mysqli"
(In reply to Daniel Austin from comment #2) Hi, Thanks - to get it working here I just installed the php56-mysql package. I did look at the code enough to see it was heading in the mysql direction - but it's quite busy / convoluted :-) so lucked out on just installing the extra pkg. We'll probably be doing another clean install of this soon - so I'll get a chance to test it all again (and not have to install php56-mysql :) Cheers, -Karl
This will be resolved once the following patch is committed: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209809
Committed relevant change in r416066