How upgrade php 7.4 to php 8.0?

Hello guys,

Please can you help me if it is possible to update php to 8.0 ?

Currently using:

DietPi v8.24.1 : 19:08 - Thu 12/14/23

  • Device model : RPi 4 Model B (aarch64)
    php -v
    PHP 7.4.33 (cli) (built: Jun 9 2023 16:51:37) ( NTS )
    Copyright (c) The PHP Group
    Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies


I guess you are running Debian Bullseye? If that’s correct, you would need to upgrade to Debian Bookworm. Debian Bookworm has been released – DietPi Blog

You are right.