"Steve Williams (Contractor)" <[email protected]> writes:

[...]

> 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.

I think the correct approach is to test whether your not packaged
application happens to be working with PHP 8.1.  For this you could, as
you said, move your 8.0 config to 8.1 (you may have to install needed
php 8.1 modules too) and do:

$ rcctl stop php80_fpm
$ rcctl disable php80_fpm
$ rcctl enable php81_fpm
$ rcctl start php81_fpm

If this does not work, I think you could have both php80_fpm and
php81_fpm but you'd have to set their flags into rc.conf.local to use
their particular config (or by default both would use /etc/php-fpm.conf
which would lead to errors)
-- 
Manuel Giraud

Reply via email to