Re:Self-Host and Tech Independence: The Joy of Building Your...
by tacker2000 on Thursday June 12, 2025 @05:18PM
(#44263304)
Yes, running 2 php versions at the same time is quite tricky. One can do it using symlinks, but its a pain.
Its the same like running multiple versions of python (python vs python3, etc… cue the xkcd meme pic).
in the end its all a mess and thats why docker is such a nice thing.
Thanks for the heads up i will check Jails out.
You got me, I have no idea how to manage PHP. Intuitively I would try to solve that problem with Nix first.
But here if you can't run two PHP versions on the same OS I would say the flaw is at the PHP level or how distributions handle it. So personally in my home I would probably avoid it and be grateful containers solve this problem for me at work.
To end on a more positive note, if you like Docker I would recommend you check FreeBSD Jails too because you probably gonna love it.
I used both but Jails have a level of integration in the OS which is next level (if used with ZFS). You really get the best of both world.