[Bug 265135] net/phpldapadmin: Fatal error: Uncaught Error: Undefined constant "LDAP_DEREF_NEVER"

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Jul 2022 15:29:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265135

            Bug ID: 265135
           Summary: net/phpldapadmin: Fatal error: Uncaught Error:
                    Undefined constant "LDAP_DEREF_NEVER"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: gerard_seibert@outlook.com
                CC: ports@bsdserwis.com
             Flags: maintainer-feedback?(ports@bsdserwis.com)
                CC: ports@bsdserwis.com

Created attachment 235174
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235174&action=edit
Image of startup page

FreeBSD 13.1-RELEASE

PHP 8.1.8 (cli) (built: Jul  9 2022 17:41:17) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.8, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.8, Copyright (c), by Zend Technologies

"net/phpldapadmin" will not run correctly with any version of PHP => 8.0. It is
not even possible to log into the application. It starts out by issuing the
following error messages:

error   Error
Unrecognized error number: 8192: trim(): Passing null to parameter #1 ($string)
of type string is deprecated

error   Memory Limit low.
Your php memory limit is low - currently 128M, you should increase it to
atleast 24. This is normally controlled in /etc/php.ini.

I believe it should be marked as broken with anything newer than PHP 7.4 until
it is fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.