# Php-updater - a script to upgrade php in a safe way

**URL:** <https://help.nextcloud.com/t/php-updater-a-script-to-upgrade-php-in-a-safe-way/180215>\
**Category:** 📑 How to\
**Tags:** ubuntu, debian, php, php-updater, fpm, admin-scripts\
**Created:** [February 6, 2024, 11:00pm UTC](https://help.nextcloud.com/t/php-updater-a-script-to-upgrade-php-in-a-safe-way/180215 "2024-02-06T23:00:00Z")\
**Posts on this page:** 1\
**Showing post:** 121

<div class="post-metadata">

**Author:** ![ernolf](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ernolf/32/77874_2.png) [@ernolf](https://help.nextcloud.com/u/ernolf)\
**Post date:** [March 15, 2025, 8:40am UTC](https://help.nextcloud.com/t/php-updater-a-script-to-upgrade-php-in-a-safe-way/180215/121 "2025-03-15T08:40:04Z")

</div>

> [@Vadim](#):
>
> now another error appears

It’s a new dependency on the package [**ansifilter**](http://andre-simon.de/doku/ansifilter/en/ansifilter.php), which is normally available in the apt sources of Debian and Ubuntu:

- [https://packages.debian.org/ansifilter](https://packages.debian.org/ansifilter)
- [https://packages.ubuntu.com/ansifilter](https://packages.ubuntu.com/ansifilter)

Are you using a different distribution or a rare architecture?

But to help you and others who might stumble upon this limitation, I removed the dependency on ansifilter and wrote a function that has the functionality of Ansifilter.  
ansifilter will still be used if it’s installed, but if it’s not installed, the internal function will be used.

So please remove the _`~/.ebtb`_ directory one more time and start again.

* * *

ernolf

---

_[View the full topic](https://help.nextcloud.com/t/php-updater-a-script-to-upgrade-php-in-a-safe-way/180215)._
