On 23.03.2016 [16:01:20 -0000], Steve Langasek wrote:
> On Wed, Mar 23, 2016 at 03:41:22PM -0000, Paul Gevers wrote:
> > On 22-03-16 19:27, Nish Aravamudan wrote:
> > > ** Patch added: "cacti_0.8.8f+ds1-4.0.8.8f+ds1-4ubuntu1.debdiff"
> > >    
> > > https://bugs.launchpad.net/ubuntu/+source/cacti/+bug/1544352/+attachment/4607754/+files/cacti_0.8.8f+ds1-4.0.8.8f+ds1-4ubuntu1.debdiff
> 
> > I checked cacti two weeks ago for Debian and it couldn't be run with
> > php7 yet. Is that already solved in Ubuntu?
> 
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815987
> 
> If it can't, then we'll want to remove the package from xenial for release
> instead.  Nish, will you verify?

I had to make two changes.

a) cacti needs to default to mysqli not mysql for a driver.

b) liphp-adodb needs to cast $this->port to (int) in the call to
mysqli_real_connect.

After doing this:

root@electrostrictive-manuel:/usr/share/cacti# php
site/script_server.php PHP Script Server has Started - Parent is cmd

@Paul, can you confirm things are operational if that is done? I'll work
on packaging changes for this (and file a bug upstream for b)).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1544352

Title:
  [PHP7] After bootstrapping, these PHP packages can be rebuilt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/adminer/+bug/1544352/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to