# How do I update php version used?

**URL:** <https://help.nextcloud.com/t/how-do-i-update-php-version-used/221646>\
**Category:** ℹ️ Support\
**Tags:** php, nc31, php81\
**Created:** [April 2, 2025, 2:46am UTC](https://help.nextcloud.com/t/how-do-i-update-php-version-used/221646 "2025-04-02T02:46:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JimmyKater](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jimmykater/32/4850_2.png) [@JimmyKater](https://help.nextcloud.com/u/JimmyKater)\
**Post date:** [April 2, 2025, 4:42am UTC](https://help.nextcloud.com/t/how-do-i-update-php-version-used/221646/2 "2025-04-02T04:42:17Z")

</div>

sometimes it would help if you would dare to search the forum before posting.  
Some nice guy has your back

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

and it’s said to work wonderfully

good luck

---

_[View the full topic](https://help.nextcloud.com/t/how-do-i-update-php-version-used/221646)._
