Hi, first of all, introduce myself, I’m a beginner and I’ve just been experimenting with all this for a few days
I have installed openmediavault 6 on an old pc all my knowledge is based on tutorials that I have found by various means and I was able to install nextcloud successfully but it was version 19.0
for reasons of problems I had to reinstall openmediavault 6 I installed nextcloud 27.0 but as you know it does not support php7.4, so I have purged php7.4 and tried to install php8 or higher but it always gives me problems that I am missing plugins
Does anyone know any guide or tips to install all the necessary plugins to install php8?
You could install a newer php version from other sources. However, I don’t know if openmediavault uses php itself, then you would need to run two php versions in parallel.
Ideally, I’d start with a debian that already ships the newer version (Debian 12). The current openmediavault still comes with Debian 11. I’d check at their side, in case they ship a new version next week, I’d wait before fiddling around.
I don’t think it’s a good idea changing the PHP version on OMV. This could lead to breakage because OMV itself also uses PHP. I highly recommend using Docker if you want to install additional apps on OMV, especially if these apps require a different PHP version than the one OMV uses.
To be honost, this is one of the reasons I containerizes. I have my own website in one container. Jitsi-meet in another container. My database engine in a third container and my management portals for infrastructure in each of their own containers and lastly I runs Nextcloud in several load balanced containers. Yes, it will add a little extra overhead as I run a full fledged webserver and php-fpm in most of them, however as they runs in containers, I save resources by the fact that I do not dedicate cores and memory to virtual machines.
I recommend to set this up in different containers, as this will ensure you are not mixing up PHP versions, and that you can run the best supported PHP version for the specific application.
If you are brave you can experiment with having one NGINX server as load balancer in front of your PHP applications, so that each site is just streamed with fastcgi to different containers, and in these containers, you maintains the proper PHP version for the specific applications. This will be more complicated, but it will ensure you have only one webserver, serving all your sites.
Not that I want to change your path in any way. But I would recommend podman/docker and to keep it simple. So you dont have to change the PHP version of your host system, but have just a whole, well configured setup prepared to use.