Hi again,

for Ubuntu 18.4 bionic LTS I cherry picked the following three commits from 
https://github.com/leenooks/phpLDAPadmin 
and build the appended php-7.2-compat.patch from that:
1. 
https://github.com/leenooks/phpLDAPadmin/commit/49ef60f26b78a81dbaa9727be11ee3fb8db0b5bb
2. 
https://github.com/leenooks/phpLDAPadmin/commit/73b7795bc0b232491de35dd91ad9ea86ad34eae8
3. 
https://github.com/leenooks/phpLDAPadmin/commit/e37b498de19a5301188bc8d93b0b67d7ce717d3a

That works for me on bionic.


On newer releases this should also apply but you might need additional 
commits/patches e.g.
Fix for PHP 7.3 - deprecated continue in switch
https://github.com/leenooks/phpLDAPadmin/commit/7b1f6b5132204836a75674045309edb7005b87d2


For Ubuntu 19.10 Eoan I would suggest to upgrade to a newer upstream version 
from <https://github.com/leenooks/phpLDAPadmin>. As far as I can see this moved 
from sourceforge to github not long ago, and the code base of phpldapadmin 
you're relaying on seems to be quite old. ;-)

I'm also crossposting this patch suggestion to the debian bug, since the
debian packages are still containing the same issue as far as I can see.
My launchpad Bug for this is on
<https://bugs.launchpad.net/ubuntu/+source/phpldapadmin/+bug/1829987>.

Kind regargs,
    Lars

-- 
Lars Kollstedt

Telefon: +49 6151 16-71027
E-Mail:  [email protected]

man-da.de GmbH
Dolivostraße 11
64293 Darmstadt

Sitz der Gesellschaft: Darmstadt
Amtsgericht Darmstadt, HRB 9484
Geschäftsführer: Andreas Ebert

** Patch added: "php-7.2-compat.patch"
   
https://bugs.launchpad.net/bugs/1829987/+attachment/5265600/+files/php-7.2-compat.patch

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

Title:
  phpldapadmin incompatible with php-7.2 in bionic

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

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

Reply via email to