Le Wed, Apr 19, 2023 at 09:16:38AM -0600, Steve Williams (Contractor) a écrit :
> Hi,
> 
> I just completed the 7.5 upgrade process and after running the pkg_add -u, I
> ended up with both
> 
>  * php-8.0.28p1
>  * php-8.1.18
> 
> Poking around, I find that php 8.1.18 is pulled in as a dependency of
> roundcubemail.
> 
> I have php-8.0.28p1 installed (upgraded from 7.2). I have a couple of
> un-packaged web applications (eg: piwigo) that need php.
> 
> Is the "default" version of PHP the 8.1.18 version for OnBase 7.3?

Yes, see MODPHP_VERSION in ports/lang/php/php.port.mk
since
https://github.com/openbsd/ports/commit/bc7244a37c7e49cb00981e53b217069819877e7f

> For example, rc.conf.local still has php80_fpm in it, rather than php81_fpm.

the ports/packages don't touch rc.conf.local :) that's the
administrator's job..

> I can move the php/php_fpm configs to php-8.1.18 and then pkg_delete the
> php-8.0.28p1 associated packages, but I wanted to make sure this was the
> correct approach.

yes; test all your php apps by moving php pools from 8.0 to 8.1, and if
all are happy you can drop 8.0 from your system.

Reply via email to