Welcome! Log In Create A New Profile

Advanced

Installing two versions of PHP-FMP?

October 04, 2022 06:10PM
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-leave@nginx.org
Subject Author Posted

Installing two versions of PHP-FMP?

Shohreh October 04, 2022 06:10PM

Re: Installing two versions of PHP-FMP?

Anoop Alias October 04, 2022 11:22PM

Re: Installing two versions of PHP-FMP?

Sergey A. Osokin October 05, 2022 01:30PM

Re: Installing two versions of PHP-FMP?

Francis Daly October 11, 2022 06:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 227
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready