diff -Nru cacti-0.8.8f+ds1/debian/changelog cacti-0.8.8f+ds1/debian/changelog --- cacti-0.8.8f+ds1/debian/changelog 2016-04-09 01:48:31.000000000 +0000 +++ cacti-0.8.8f+ds1/debian/changelog 2016-04-18 23:17:46.000000000 +0000 @@ -1,3 +1,10 @@ +cacti (0.8.8f+ds1-4ubuntu4) xenial; urgency=medium + + * debian/patches/11_1571432_mysqli.patch: Use mysqli extension not + mysql with PHP7.0. Closes LP: #1571432. + + -- Nishanth Aravamudan Mon, 18 Apr 2016 13:54:08 -0700 + cacti (0.8.8f+ds1-4ubuntu3) xenial; urgency=medium * Add run-time dependencies on php-xml, php-mbstring (LP: #1568136). diff -Nru cacti-0.8.8f+ds1/debian/patches/11_1571432_mysqli.patch cacti-0.8.8f+ds1/debian/patches/11_1571432_mysqli.patch --- cacti-0.8.8f+ds1/debian/patches/11_1571432_mysqli.patch 1970-01-01 00:00:00.000000000 +0000 +++ cacti-0.8.8f+ds1/debian/patches/11_1571432_mysqli.patch 2016-04-18 23:17:46.000000000 +0000 @@ -0,0 +1,15 @@ +Description: Use mysqli extension not mysql with PHP7.0 +Author: Nishanth Aravamudan +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1571432 + +--- cacti-0.8.8f+ds1.orig/install/index.php ++++ cacti-0.8.8f+ds1/install/index.php +@@ -63,7 +63,7 @@ if ($old_cacti_version == $config["cacti + } + + function verify_php_extensions() { +- $extensions = array("session", "sockets", "mysql", "xml"); ++ $extensions = array("session", "sockets", "mysqli", "xml"); + $ok = true; + $missing_extension = "

Error

+

The following PHP extensions are missing: