# Purge and reinstall PHP

**URL:** <https://help.nextcloud.com/t/purge-and-reinstall-php/165479>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** php, ncp, raspberrypi\
**Created:** [July 4, 2023, 4:38am UTC](https://help.nextcloud.com/t/purge-and-reinstall-php/165479 "2023-07-04T04:38:04Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![FadeFx](https://help.nextcloud.com/user_avatar/help.nextcloud.com/fadefx/32/9921_2.png) [@FadeFx](https://help.nextcloud.com/u/FadeFx)\
**Post date:** [July 10, 2023, 10:32am UTC](https://help.nextcloud.com/t/purge-and-reinstall-php/165479/9 "2023-07-10T10:32:06Z")

</div>

Problem is fixed here:

> [@Nextcloud Cron suddenly is giving an error](https://help.nextcloud.com/t/nextcloud-cron-suddenly-is-giving-an-error/165494/12):
>
> Still i think there might be something wrong with opcache, i would loke to remove 8.2 completely, i wanted to try and install sudo apt install php8.1 php-opcache but this also installed stuff for php 8.2 probably i am holding it wrong? I woukd like to remove php8.2 completely from the system, but it claims php8.2 is not installed…

---

_[View the full topic](https://help.nextcloud.com/t/purge-and-reinstall-php/165479)._
