Nextcloud version 23.0.4 : is php 7.4 supported?


my Nextcloud v23.0.4 run fine with php 7.3
but with php 7.4 there is an “Internal server error”

Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
The log /var/log/newcloud.log is empty.
even with log level=4 in the config.php setup

Note :
the apache server itself is Ok with php 7.4
OS is Debian.

Thanks for any clue.


yes, php 7.4 is supported.

Internal server error means you have conf error.
This may be an error directly within the conf files, or a missing dependencies.

Check my cookbook, My server config ( cookbook like ) as a "pense-bete" or showcase in order to help

We have almost the same conf… the php -m…should be the interresting part…

Follow up here …

Agreed - running 7.4 fine here.

Yes, using PHP7.4 here. As stratege1401 said, this is a configuration issue. Double check all your settings, especially with the Apache2 config files.


It’s resolved.

thanks to all.

Solution :

I compare “php -m” outputs between php7.3 and php7.4
It was missing some modules on 7.4
Added them (via Debian packages for php7.4).

And voila ! It’s working.

Thanks again.