# Nextcloud doesn't recognize php 8.4

**URL:** <https://help.nextcloud.com/t/nextcloud-doesnt-recognize-php-8-4/251558>\
**Category:** ℹ️ Support\
**Tags:** php84, php83\
**Created:** [October 26, 2026, 10:43am UTC](https://help.nextcloud.com/t/nextcloud-doesnt-recognize-php-8-4/251558 "2026-10-26T10:43:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinii](https://help.nextcloud.com/letter_avatar/martinii/32/6_22734026db12803ebb3e059622ac3534.png) [@martinii](https://help.nextcloud.com/u/martinii)\
**Post date:** [October 26, 2026, 10:43am UTC](https://help.nextcloud.com/t/nextcloud-doesnt-recognize-php-8-4/251558/1 "2026-10-26T10:43:49Z")

</div>

> ****
>

Hello,

My **[Nextcloud Hub 26 Summer](https://nextcloud.com) (35.0.2)** is running on a Debian 13 and apache2. I got a warning that i only installed php 8.3, but i got 8.4 installed and configured too:

```auto
PHP 8.4.27 (cli) (built: Oct 21 2026 08:17:41) (NTS)
Copyright (c) The PHP Group
Built by Debian
Zend Engine v4.4.27, Copyright (c) Zend Technologies
    with Zend OPcache v8.4.27, Copyright (c), by Zend Technologies

```

```auto
There are 2 choices for the alternative php (providing /usr/bin/php).

  Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/php8.4 84 auto mode
  1 /usr/bin/php8.3 83 manual mode
  2 /usr/bin/php8.4 84 manual mode

```

But my Nextcloud still shows php 8.3.36 in System section:

 ![Obraz](https://help.nextcloud.com/uploads/default/original/3X/5/a/5a13875d388b68411a58e1f89b2ab38d405c4f67.png)

After executing these commands:

```auto
sudo apt remove -y php8.3
sudo apt purge php8.3*

```

i get:

> # Service Unavailable
> 
> The server is temporarily unable to service your  
> request due to maintenance downtime or capacity  
> problems. Please try again later.
> 
> * * *
> 
> Apache/2.4.69 (Debian) Server at xxx.xxx.xxx.pl Port 443

What is the problem?

---

<div class="post-metadata">

**Author:** ![adelaar](https://help.nextcloud.com/letter_avatar/adelaar/32/6_22734026db12803ebb3e059622ac3534.png) [@adelaar](https://help.nextcloud.com/u/adelaar)\
**Post date:** [October 26, 2026, 11:02am UTC](https://help.nextcloud.com/t/nextcloud-doesnt-recognize-php-8-4/251558/2 "2026-10-26T11:02:28Z")

</div>

Did you checked your config-Files? On my nginx the `/etc/nginx/conf.d/HttpGateway.conf` needs modification. In my case

```auto
upstream php-handler {
    server unix:/run/php/php8.3-fpm.sock;
}

```

So check for such first.

---

<div class="post-metadata">

**Author:** ![lmsoren](https://help.nextcloud.com/letter_avatar/lmsoren/32/6_22734026db12803ebb3e059622ac3534.png) [@lmsoren](https://help.nextcloud.com/u/lmsoren)\
**Post date:** [October 26, 2026, 11:22am UTC](https://help.nextcloud.com/t/nextcloud-doesnt-recognize-php-8-4/251558/3 "2026-10-26T11:22:14Z")

</div>

You may be able to solve the issue with this thread. I had an almost similar problem, not so long ago

> [@APCu has been unloaded](https://help.nextcloud.com/t/apcu-has-been-unloaded/247953/7):
>
> Solution: I upgraded to php 8.5 a while ago. Inspired by the post: I removed two inactive php versions 8.3 and 8.4: [Edited to match the comment below] $ sudo apt-get purge '\*php8.3\*' $ sudo apt-get purge '\*php8.4\*' Notice the single quotes and the two asterisks! I then uninstalled the apcu module in php 8.5 and reinstalled it: $ sudo apt-get purge php8.5-apcu $ sudo apt install php8.5-apcu Then restarted Apache2: $ sudo systemctl restart apache2 After that, apcu worked again. A si…

---

<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:** [November 3, 2026, 11:22am UTC](https://help.nextcloud.com/t/nextcloud-doesnt-recognize-php-8-4/251558/4 "2026-11-03T11:22:24Z")

</div>

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