Planning to switch my work setup from Debian and never liked Arch(btw) .
My main hurdle is package manager switch being apt user for decade(s).
As I frequently need to run different PHP versions (at the same time and under webserver ā legacy code ā¦) and donāt want to lose sanity setting up Docker chain +XDEBUG for them I just have multiple versions installed and call them directly as php5.4 | php 7.2 | php 8.4 <foo> and use different sockets for fastcgi.
A fellow web dev supporting legacy code! I too am in this same situation. I came from Debian and have been using the OndÅej Surý repo for the multiple versions, and would love to know if there is something similar as well. So far in my searching there is not. We might be able to request getting multiple php versions into the OM repos⦠my next step was to see what that would take.
If you donāt mind could you elaborate on this process or send me a link to read? Iāve not done this and am curious. Thanks!
so from the little Iām been using OM for a webserver(apache), I have been using source, most likely we will have to setup a repo in the feature to have multiple version in one place so we can use dnf to install them.
As Ubuntu and Debian user I also enjoyed OndÅejās work. But I had a few strange server setups where that was impossible. GitHub - geerlingguy/ansible-role-php: Ansible Role - PHP has option to build from source and I was using Ansible to manage them anyway. Itās nothing special, just automates pulling the source, configure and compile just like one may do manually.
Donāt have any knowledge about how dnf work but for anyone implementing this please do not do what homebrew did on OSX and overwrite PHP versions. They work just fine as /usr/bin/phpX.Y including multiple fcgi server processes.