Created attachment 271525 [details] update patch As I switched to php85 I have to add some patches to net/phpldapadmin to avoid warnings ora errors in browser. This small patch touches three files of PLA and PLA is working correctly with php85. I've tested that these patches apply correctly. So I hope it will be committed soon :-)))
Why not update to 2.x?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=90ebf10b5ad1e4d4efd72a8baee270c6a2737b08 commit 90ebf10b5ad1e4d4efd72a8baee270c6a2737b08 Author: Krzysztof <ports@bsdserwis.com> AuthorDate: 2026-06-13 00:47:47 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-06-13 00:49:23 +0000 net/phpldapadmin: Add support for php85 PR: 295877 Sponsored by: UNIS Labs net/phpldapadmin/Makefile | 2 +- .../files/patch-lib_PLAAttribute.php (new) | 12 +++++++++ .../files/patch-lib_functions.php (new) | 22 +++++++++++++++ net/phpldapadmin/files/patch-lib_xml2array.php | 31 ++++++---------------- 4 files changed, 43 insertions(+), 24 deletions(-)
A commit in branch 2026Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e2ffecea5bd4d510508bbb77349822e5934f2143 commit e2ffecea5bd4d510508bbb77349822e5934f2143 Author: Krzysztof <ports@bsdserwis.com> AuthorDate: 2026-06-13 00:47:47 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-06-13 00:54:16 +0000 net/phpldapadmin: Add support for php85 PR: 295877 Sponsored by: UNIS Labs (cherry picked from commit 90ebf10b5ad1e4d4efd72a8baee270c6a2737b08) net/phpldapadmin/Makefile | 2 +- .../files/patch-lib_PLAAttribute.php (new) | 12 +++++++++ .../files/patch-lib_functions.php (new) | 22 +++++++++++++++ net/phpldapadmin/files/patch-lib_xml2array.php | 31 ++++++---------------- 4 files changed, 43 insertions(+), 24 deletions(-)
Thanks.
(In reply to Vladimir Druzenko from comment #1) First of all PLA 2.x is still not full "compatible" with PLA 1.x. As you can see there is some features which have to be developed - see https://github.com/leenooks/phpLDAPadmin#outstanding-items PLA 2.x require npm and other dependencies. I've started net/phpldapadmin2 port but I have to test it - that all dependencies will be installed.