On 2022-03-28, ITwrx <li...@itwrx.org> wrote:
> I'm running php7.4 and php8 at the same time on an OpenBSD 7.0 machine
> i'm testing as a web server. I'm pretty sure they were both starting up
> fine until yesterday (it's been a while) after i updated with pkg_add -u
> and syspatch. Now, php8 fails to start with:
>
> ERROR: Another FPM instance seems to already listen on 
> /var/www/run/php-fpm.sock
> ERROR: FPM initialization failed
>
> This seems to be due to the fact that php8.0 became the new default,
> but it looks like php74 is still trying to use php-fpm.sock instead of
> php-fpm74.sock, or whatever it's supposed to be called once it's not
> the default anymore.

The php-fpm ports default to using /etc/php-fpm.conf.

If you are running both php74_fpm and php80_fpm together then you must
change this default for at least one of them and point it at its own
configuration file e.g.

php74_fpm_flags=-y /etc/php-fpm-7.4.conf

Nothing has changed in this respect.


-- 
Please keep replies on the mailing list.

Reply via email to