Re: php7.4 on bookworm
On 2023-06-26 00:52, Markus Schönhaber wrote: I don't know if that somehow qualifies as "best practice" but Ondřej Surý packages different PHP versions for Debian and Ubuntu one can install side-by-side: https://sury.org/ I can vouch for the quality of the Sury packages. I've used them for years. That said: Upgrading the website to use a upstream-supported version of PHP would probably be really "best practice". But yes, upgrading is your best bet.
Re: php7.4 on bookworm
On 2023-06-26 08:08, Stefan Begerad wrote: Dear community, Somehow my Debian 11 was automagically upgraded to Debian 12 perhaps by the hosting company. However, there is a website running on this Debian that requieres php7.4. That website is incompatible with the php version Debian 12 is offering and down at the moment. From the packages it looks like Debian 12 is offering php8.2. Can you recommend a best practice how to run php7.4 on a Debian 12 in an production environment? Any hint is appreciated. Cheers, My hosting company seemed to think it was pretty serious as they intended to "fine" anybody monthly who didn't update their website. mick
Re: php7.4 on bookworm
26.06.23, 09:08 +0200, Stefan Begerad: Somehow my Debian 11 was automagically upgraded to Debian 12 perhaps by the hosting company. However, there is a website running on this Debian that requieres php7.4. That website is incompatible with the php version Debian 12 is offering and down at the moment. From the packages it looks like Debian 12 is offering php8.2. Can you recommend a best practice how to run php7.4 on a Debian 12 in an production environment? I don't know if that somehow qualifies as "best practice" but Ondřej Surý packages different PHP versions for Debian and Ubuntu one can install side-by-side: https://sury.org/ What I also do sometimes is to create a container/VM with desired software stack and let the "frontend" HTTP server act as a reverse proxy for the container/VM. That said: Upgrading the website to use a upstream-supported version of PHP would probably be really "best practice". -- Regards mks
Re: php7.4 on bookworm
Stefan Begerad (12023-06-26): > Somehow my Debian 11 was automagically upgraded to Debian 12 perhaps by the > hosting company. The fact that you do not know is deeply concerning. > However, there is a website running on this Debian that > requieres php7.4. That website is incompatible with the php version Debian > 12 is offering and down at the moment. > > From the packages it looks like Debian 12 is offering php8.2. Can you > recommend a best practice how to run php7.4 on a Debian 12 in an production > environment? Yes: do not. PHP 7.4 has reached its end of life one year and a half ago and its end of life support six months ago. Regards, -- Nicolas George
php7.4 on bookworm
Dear community, Somehow my Debian 11 was automagically upgraded to Debian 12 perhaps by the hosting company. However, there is a website running on this Debian that requieres php7.4. That website is incompatible with the php version Debian 12 is offering and down at the moment. From the packages it looks like Debian 12 is offering php8.2. Can you recommend a best practice how to run php7.4 on a Debian 12 in an production environment? Any hint is appreciated. Cheers, Stefan Begerad