iMPOSSIBLE to set up nextcloud on DEBIAN 12

I’m using VPS of OVH for few years, and I get use to install nexcloud on it.
This year I decided to entirely set up e hosted virtuel server.
OK for LAM but not OK for Nextcloud.

I tried many ways to do it but it’s impossible after the state of … see image attached


If you need help, give more infos about the errors messages and add the promised picture.

Kind regards

This should not be any problem.
I’ve installed Nextcloud on Debian12 in combination with Apache2, MariaDB, PHP8.2-FPM.
Also i have installed it in combination with Nginx instead of Apache2.

Do not use PHP-8.3!