[Bug 227199] net/phpldapadmin: Function mcrypt_module_open() is deprecated.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 2 10:32:47 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227199
Bug ID: 227199
Summary: net/phpldapadmin: Function mcrypt_module_open() is
deprecated.
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: matthew at FreeBSD.org
Reporter: ohartmann at walstatt.org
Flags: maintainer-feedback?(matthew at FreeBSD.org)
Assignee: matthew at FreeBSD.org
When using PHP >= 7.1 (which is necessary due to some serious issues with php
5.6), port net/phpldapadmin fails to work with the error:
Function mcrypt_module_open() is deprecated.
Searching the net for this error reveals that mcrypt has been marked deprecated
for PHP >= 7.1. A often mentioned and used workaround is to comment out the
routines in question and fall back to BLOWFISH (as I understand this). The
attached patch is taken from the web and applies to lib/functions.php,
commenting out the call for mcrypt_XXXX() at two places.
This makes net/phpldapadmin (actually phpldapadmin-1.2.3_7,1) working again
with lang/php71 as the default php.
The attached patch is considered a workaround.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list