Current source for databases/phppgadmin port has several well known issues with PHP 8+: https://github.com/phppgadmin/phppgadmin/issues/119#issuecomment-751410900 It looks like this repository is abandoned by developer (no comments for 2 years). May be add patches for these fixes or switch to another github repository? For example https://github.com/ReimuHakurei/phpPgAdmin (I take it from https://github.com/phppgadmin/phppgadmin/pull/159 and it works quite well for me)
I will test the patches vs. patched version.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=914d197f6fd8a2d4822da8abd63d7fef490c23ea commit 914d197f6fd8a2d4822da8abd63d7fef490c23ea Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2023-01-08 17:25:32 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2023-01-08 17:25:32 +0000 databases/phppgadmin: update to 7.14.3 - add support for postgres15 - fix Authentication Bypass PR: 268785 MFH: 2023Q1 Security: CVE-2021-3850 Security: https://huntr.dev/bounties/bdf5f216-4499-4225-a737-b28bc6f5801c/ databases/phppgadmin/Makefile | 10 +- databases/phppgadmin/distinfo | 6 +- .../files/patch-adodb-postgres64.inc.php (gone) | 14 - databases/phppgadmin/files/patch-all_db.php (gone) | 11 - databases/phppgadmin/pkg-plist | 1193 +++++++++++++++++++- 5 files changed, 1194 insertions(+), 40 deletions(-)
A commit in branch 2023Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=838734926dc5adfefda2b97d7926cc85dd15d084 commit 838734926dc5adfefda2b97d7926cc85dd15d084 Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2023-01-08 17:25:32 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2023-01-08 17:48:58 +0000 databases/phppgadmin: update to 7.14.3 - add support for postgres15 - fix Authentication Bypass PR: 268785 MFH: 2023Q1 Security: CVE-2021-3850 Security: https://huntr.dev/bounties/bdf5f216-4499-4225-a737-b28bc6f5801c/ (cherry picked from commit 914d197f6fd8a2d4822da8abd63d7fef490c23ea) databases/phppgadmin/Makefile | 10 +- databases/phppgadmin/distinfo | 6 +- .../files/patch-adodb-postgres64.inc.php (gone) | 14 - databases/phppgadmin/files/patch-all_db.php (gone) | 11 - databases/phppgadmin/pkg-plist | 1193 +++++++++++++++++++- 5 files changed, 1194 insertions(+), 40 deletions(-)
The patches for PHP 8.0 had been included at 2002-05-09. Nevertheless I decided to switch to the better maintained fork.
Thank you very mach!