From: Chaz Kettleson Subject: Re: www/phpldapadmin broken To: ports@openbsd.org Date: Sun, 25 Jan 2026 20:02:45 -0500 On Sun, Jan 25, 2026 at 05:06:07PM -0500, Chaz Kettleson wrote: > All, > > I tested www/phpldapadmin and it is broken. It looks like the project > did a rewrite to support newer versions of PHP, and OpenBSD was carrying > patches for a while for their last 1x release. Somewhere along the line > probably for PHP 8x this stopped working. The last email I could find > was: > > https://marc.info/?l=openbsd-ports&m=170548745803429&w=2 > > Is the plan to fix this for for PHP 8x or move to 2x? I took a look at > 2x and it's now based on Laravel and would require running npm/composer > and likely require a vendored package. > > I'm going to continue playing with 2x to see if I can get it to work. > > -- > Chaz > I did manage to get 2x working. The trick for httpd(8) is the following in httpd.conf for Laravel-based apps: server "subdomain.example.com" { listen on localhost port www root "/phpLDAPadmin/public" directory index index.php location not found "*" { request rewrite "/index.php?$QUERY_STRING" fastcgi socket "/run/php-fpm.sock" pass } } Still trying to get it to play nice with ldapd(8) but that is orthogonal to the port. I'll work on updating the port and hosting the vendored package unless someone else wants to. -- Chaz