Hello,

I only have shallow experience with nginx.

To migrate an old php5-based application to the latest release which expects php7, I'd like to install both versions of PHP-FPM in one nginx server.

Although I read elsewhere it's a mistake to install the php package instead of php-fpm because the former also installs Apache… this is what this document <https://menchomneau.medium.com/how-to-install-multi-php-server-on-ubuntu-20-04-and-nginx-ae63bc87c74b> does:

=============
apt-get install php5.6 php5.6-fpm php7.4 php7.4-fpm
=============

So, what's the recommended way to set things up so that nginx can support both interpreters and manage two versions of a web app in their respective directory?

Thank you.
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-le...@nginx.org

Reply via email to