Change Default PHP version in Ubuntu 20 LTS

Discussions about the usage of KeyHelp.
Post Reply
sanxh
Posts: 47
Joined: Tue 12. May 2020, 11:52
Contact:

Change Default PHP version in Ubuntu 20 LTS

Post by sanxh »

How can I change the default php version from 7.4 to 8.3 in Ubuntu 20?
User avatar
technotravel
KeyHelp Translator
Posts: 415
Joined: Mon 19. Oct 2020, 11:11

Re: Change Default PHP version in Ubuntu 20 LTS

Post by technotravel »

The default php version of an OS should never be changed when running Keyhelp! This would cause all kind of undesired effects and break your system.

Instead, you can install additional php versions (in the KH UI, configuration settings), and then assign them to your domains.

There are already many threads on this subject here in the forum.
Chers francophones, je traduis KeyHelp en français. S'il y a des erreurs ou des propositions d'amélioration, n'hésitez pas à me contacter !
(Ich übersetze KeyHelp ins Französische)
User avatar
24unix
Posts: 2063
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: Change Default PHP version in Ubuntu 20 LTS

Post by 24unix »

If you need cli access to different versions, there are binaries for each installed version, keyhelp-php version.

If you use KeyHelp pro, there is a new feature, where you can access the version defined for the specific domain, I can search the link later, but I’m currently not in the office, only on the iPad.
Cheers Micha
--
A backend dev walks into a bar, orders 1 beer.
Then orders 100 beers.
Then orders -1 beers.
Then orders “a lizard”.
Then explodes.

(The bartender says: “You really should validate your input.”)
Post Reply