[Pkg-cacti-maint] Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

TheSin thesin at southofheaven.org
Mon Apr 4 16:46:23 UTC 2016


I believe the real issue isn’t with adodb, it’s line 38 of /usr/share/cacti/site/lib/database.php

$dsn = "$db_type://" . rawurlencode($user) . ":" . rawurlencode($pass) . "@" . rawurlencode($host) . "/" . rawurlencode($db_name) . "?persist”;

I believe we must remove the persist, so it no longer uses _pconnect in adodb, and it’ll switch to using _connect instead.

This is untested though I plan to test it in a bit, but I believe this should fix it.


More information about the Pkg-cacti-maint mailing list