Damgan
July 24, 2025, 5:25pm
1
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
php-updater is a script to upgrade (migrate php from one version to an other) on → debian based distributions ←
my motivations
Installation of the script:
sudo wget -O /usr/local/bin/php-updater https://global-social.net/script/php-updater
sudo chmod +x /usr/local/bin/php-updater
Explanation:
- the first line downloads the script into the directory /usr/local/bin
- the second line makes it executable
You only need to install it once.
As all of my → ebtb ← scripts , it comes signed and …
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
bb77
July 25, 2025, 4:47am
2
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
Damgan
July 25, 2025, 6:54am
3
bb77:
sudo apt install gawk
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
bb77
July 25, 2025, 7:36am
4
Actually, that was mostly thanks to DeepL. 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.
Glad it worked out though, and have a good day too!
system
Closed
August 2, 2025, 7:36am
5
This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.