Installing two versions of PHP-FMP?
Gilles Ganault
gilles.ganault at free.fr
Tue Oct 4 22:08:34 UTC 2022
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20221005/17542214/attachment.htm>
More information about the nginx
mailing list