# Update PHP 8.1 vers 8.2 avec php-updater

**URL:** <https://help.nextcloud.com/t/update-php-8-1-vers-8-2-avec-php-updater/229252>\
**Category:** ℹ️ Support\
**Tags:** nc30, php-updater, php81\
**Created:** [July 24, 2025, 5:25pm UTC](https://help.nextcloud.com/t/update-php-8-1-vers-8-2-avec-php-updater/229252 "2025-07-24T17:25:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damgan](https://help.nextcloud.com/letter_avatar/damgan/32/5_5575768a8748004e209b776fc1b2916d.png) [@Damgan](https://help.nextcloud.com/u/Damgan)\
**Post date:** [July 24, 2025, 5:25pm UTC](https://help.nextcloud.com/t/update-php-8-1-vers-8-2-avec-php-updater/229252/1 "2025-07-24T17:25:20Z")

</div>

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 - a script to upgrade php in a safe way](https://help.nextcloud.com/t/php-updater-a-script-to-upgrade-php-in-a-safe-way/180215):
>
> php-updater is a script to upgrade (migrate php from one version to an other) on [→ debian based distributions ←](https://en.wikipedia.org/wiki/List_of_Linux_distributions#Debian-based)play_button 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](https://github.com/ernolf/ebtb), 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

---

<div class="post-metadata">

**Author:** ![bb77](https://help.nextcloud.com/letter_avatar/bb77/32/5_5575768a8748004e209b776fc1b2916d.png) [@bb77](https://help.nextcloud.com/u/bb77)\
**Post date:** [July 25, 2025, 4:47am UTC](https://help.nextcloud.com/t/update-php-8-1-vers-8-2-avec-php-updater/229252/2 "2025-07-25T04:47:38Z")

</div>

> [@Damgan](#):
>
> 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](https://packages.debian.org/fr/bookworm/gawk)

And here is the official website: [Gawk - GNU Project - Free Software Foundation (FSF)](https://www.gnu.org/software/gawk/)

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

```

---

<div class="post-metadata">

**Author:** ![Damgan](https://help.nextcloud.com/letter_avatar/damgan/32/5_5575768a8748004e209b776fc1b2916d.png) [@Damgan](https://help.nextcloud.com/u/Damgan)\
**Post date:** [July 25, 2025, 6:54am UTC](https://help.nextcloud.com/t/update-php-8-1-vers-8-2-avec-php-updater/229252/3 "2025-07-25T06:54:31Z")

</div>

> [@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

---

<div class="post-metadata">

**Author:** ![bb77](https://help.nextcloud.com/letter_avatar/bb77/32/5_5575768a8748004e209b776fc1b2916d.png) [@bb77](https://help.nextcloud.com/u/bb77)\
**Post date:** [July 25, 2025, 7:36am UTC](https://help.nextcloud.com/t/update-php-8-1-vers-8-2-avec-php-updater/229252/4 "2025-07-25T07:36:02Z")

</div>

> [@Damgan](#):
>
> Cher bb77,  
> Your French is perfect.

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! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [August 2, 2025, 7:36am UTC](https://help.nextcloud.com/t/update-php-8-1-vers-8-2-avec-php-updater/229252/5 "2025-08-02T07:36:19Z")

</div>

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