Wednesday, June 30, 2021

Re: phpLDAPadmin doesn't work with php-fpm-7.4

Moving from bugs@ to ports@ which is the better place for ports reports

It looks like this was possibly fixed in 1.2.6 / 1.2.6.2, I've committed
an update to -current ports. Will be a couple of days before packages
are built and it's not really the sort of thing for -stable packages
(alternatively you can ignore the registered dependencies and install
and use php 7.3 / php-ldap 7.3 instead).



On 2021/06/30 21:09, C. G. wrote:
> Note that you see https://my_domain:444/... in the links because my phpLDAPadmin runs on a dedicated Apache vhost that listens on port 444.
> ________________________________
> De : C. G. <idxtrader@hotmail.com>
> Envoyé : jeudi 1 juillet 2021 01:06
> À : bugs@openbsd.org <bugs@openbsd.org>
> Objet : phpLDAPadmin doesn't work with php-fpm-7.4
>
> https://openports.se/www/phpldapadmin
> OpenPorts.se | The OpenBSD package collection<https://openports.se/www/phpldapadmin>
> 2021-02-24 09:49:02 by Stuart Henderson | Files touched by this commit (52): Log message: switch default MODPHP_VERSION to 7.4 and bump ports which have changed version. (as of 6 Dec 2020, 7.3 went into "security fixes only" mode). 2020-04-26 09:21:11 by Robert Nagy | Files touched by this commit (9): Log message: Update to version 1.2.5 which is a fork of the original project that is still ...
> openports.se
> 
> 
> 
> 
> 
> 
> 
> 
> I saw this on this page :
>
> CVS Commit History:
> 2021-02-24 09:49:02 by Stuart Henderson<https://openports.se/bbmaint.php?maint=sthen@cvs.openbsd.org> | Files touched by this commit (52)<https://openports.se/commit_files.php?messageId=1250f0a716e78d8c@cvs.openbsd.org>
>
> Log message:
> switch default MODPHP_VERSION to 7.4 and bump ports which have changed
> version. (as of 6 Dec 2020, 7.3 went into "security fixes only" mode).
>
>
> I write this email to you yo warn you that phpLDAPadmin doesn't work properly with php-fpm-7.4.
>
> I get multiple errors when I run it with php-fpm-7.4 :
>
> First, this message on top of phpLDAPadmin welcome page :
>
> Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/phpldapadmin/lib/functions.php on line 1641
>
> Most importantly, after login, I can't create entries because I get these messages :
>
> PHP Debug Backtrace
> File /var/www/phpldapadmin/lib/functions.php (190)
> Function error (a:5:{i:0;s:102:"Unrecognized error number: 8192: A...<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=0>)
> File /var/www/phpldapadmin/lib/functions.php (58)
> Function app_error_handler (a:5:{i:0;i:8192;i:1;s:69:"Array and string offset ...<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=1>)
> File /var/www/phpldapadmin/lib/functions.php (58)
> Function require_once
> File /var/www/phpldapadmin/lib/functions.php ()
> Function pla_autoload (a:1:{i:0;s:14:"TemplateRender";}<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=3>)
> File /var/www/phpldapadmin/htdocs/template_engine.php (40)
> Function spl_autoload_call (a:1:{i:0;s:14:"TemplateRender";}<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=4>)
> File /var/www/phpldapadmin/htdocs/cmd.php (59)
> Function include (a:1:{i:0;s:48:"/var/www/phpldapadmin/htdocs/templa...<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=5>)
>
> When I click on the first link, I get :
>
> URL : https://my_domain:444/tools/unserialize.php?index=0<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=0>
>
> File not found.
>
> When I click on the second link, I get :
>
> https://my_domain<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=0>:444/tools/unserialize.php?index=1<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=1>
>
> File not found.
>
> When I click on the third link, I get :
>
> https://my_domain<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=0>:444/tools/unserialize.php?index=3<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=3>
>
> File not found.
>
> On the fourth link, I get :
>
> https://my_domain<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=0>:444/tools/unserialize.php?index=4<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=4>
>
> File not found.
>
> On the fifth link, I get :
>
> https://my_domain<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=0>:444/tools/unserialize.php?index=5<https://turbocharger007.lynx.re:444/tools/unserialize.php?index=5>
>
> File not found.
>
> (See the screenshot attached here)
>
> But it works perfectly with php-fpm-7.3 installed via PKG.

No comments:

Post a Comment