Update PHP 8.1 vers 8.2 avec php-updater

La version Nextcloud installée Nextcloud Hub 9 30.0.13
Sous PHP 8.1.33

Je souhaite mettre à jour PHP vers 8.2 voir 8.3 et la solution ci-dessous parait idéal

Après le wget du fichier php-updater et exécution, j’ai le message d’erreur suivant

damgan@Venus:~$ sudo chmod +x /usr/local/bin/php-updater
damgan@Venus:~$ php-updater

ERROR: ‘gawk’ binary not found.

Ce “gawk” n’est pas très expressif, auriez vous une suggestion ?
Merci

Hi @Damgan

Unfortuantely, I’m not very good at French, so I’ll take the liberty of replying in English:

Take a look here for a brief description of what gawk is and for the packages included in Debian: https://packages.debian.org/fr/bookworm/gawk

And here is the official website: Gawk - GNU Project - Free Software Foundation (FSF)

So it’s nothing malicious, and you can safely answer ‘yes’ when the script asks if you want to install this package.

If the script didn’t ask, you can install it manually and then run the script again.

sudo apt install gawk
1 Like

Cher bb77,
Your French is perfect.
Merci pour votre réponse salutaire.
Après j’ai eu un “ERROR: ‘jq’ binary not found.”
Auquel j’ai appliqué “sudo apt install jq”
Et cela fonctionne.
Bonne journée

1 Like

Actually, that was mostly thanks to DeepL. :wink: However, I didn’t feel comfortable just pasting a machine-translated reply in a language I don’t understand well, so I decided to respond in English instead. :slight_smile:

Glad it worked out though, and have a good day too! :slight_smile:

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.