php and FPM reddit / selfhosted ---------------------------------------------------------------------- fizdog · 2023-10-27 22:48 I am trying to run 2 different sites with 2 different php versions. I had it working fine but the 2nd site eneded up possibly needed a newer(8.1 to be exact) version and now both sites are stuck on using 7.4-fpm and i removed everything related to 7.4-fpm and now it just gives me a 7.4-fpm sock error in the log file. yes i have changed it in the sitenmae.conf to the 8.1 version but as i said it still wants to keep using 7.4 and i'm not sure why. ---------------------------------------------------------------------- jogai-san · 2023-10-28 06:38 Containerization makes this really easy. I run php applications with images from [serversideup](https://serversideup.net/open- source/docker-php/) ---------------------------------------------------------------------- thekrautboy · 2023-10-28 06:50 Containers easily avoid this exact problem, start using them. ---------------------------------------------------------------------- SpaceManaRitual · 2023-10-28 11:24 Wow nice images! I’m curious as to how you handle the production infrastructure beneath the containers? ---------------------------------------------------------------------- jogai-san · 2023-10-30 09:14 wdym? You can read more in their docs: https://serversideup.net/open- source/docker-php/docs/getting-started/choosing-a-host ---------------------------------------------------------------------- SpaceManaRitual · 2023-10-30 11:03 Oh sorry didn’t see that! Thanks for pointing the obvious to me!! ---------------------------------------------------------------------- jogai-san · 2023-10-30 12:08 np