Topic: Plzzzz, Help switching php versions on fedora 39.

Hi there,

I recently switched from Ubuntu 22 to Fedora 39, U know, the snap controversy.

In Ubuntu, I was able to easily switch between the installed PHP versions
  * service php8.3-fpm start
  * a2enconf php8.3-fpm
  * update-alternatives --set php /usr/bin/php8.3

But in Fedora, it's more complicated,
I installed many versions, but don't know how to softly switch between them.
Sincerely, The documentation is really, really poor, So, I give up,
What I'm doing, is a script that removes all installed PHP packages and reinstall all the packages of another version.

Is there any smart solution.
Thanks

Re: Plzzzz, Help switching php versions on fedora 39.

For proper repository configuration and usage, follow the Wizard instructions
https://rpms.remirepo.net/wizard/

Notice:
- Multiple versions are not available in Fedora official repository (i.e. F39 only have 8.2),
- Using my repository gives access to PHP 7.4 to 8.3 as single/default version (modules), and for parallel installation (SCL)


If you want to run multiple versions simultaneously
you can read https://blog.remirepo.net/post/2022/02/ … orkstation

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Plzzzz, Help switching php versions on fedora 39.

Hi Remi,

Really thanks for your reply,
Sincerely, I love your great work, your package is awesome, you're a master.
except for the documentation smile (don't be mad at me)

Really, I'm not criticizing, I want to help,
THe wizard is awesome, but the docs are confusing, Even perplexity.ai didn't help me.

Hope you'll get all the success that you deserve.

Re: Plzzzz, Help switching php versions on fedora 39.

I just add a link to blog howto as tips for Software Collection in the Wizard.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi