Following an update to nextcloud 18.0.1, a request for php7.2 was required.
After updating to php7.2, I have an internal server error.
Apache seems to be working well.
I don’t know where to look, can you help me?
thank you in advance
Nextcloud version (eg, 12.0.2): 18.0.1
Operating system and version (eg, Ubuntu 17.04): debian 9
Apache or nginx version (eg, Apache 2.4.25): 2.4.25
PHP version (eg, 7.1):7.2
The issue you are facing: Internal Server Error
Is this the first time you’ve seen this error? (Y/N): Y
Here is the result : “sudo -u www-data php occ upgrade”
An unhandled exception has been thrown:
Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: could not find driver in /var/www/nextcloud/lib/private/DB/Connection.php:68
Stack trace:
…
you’re mixing-up two different things. In general two different PHP components are involved here, the web server and the command line component. You’ve only tested the command line (CLI) component. You need to update the web component now too to align both versions…
pls search the forum on how to adjust that correctly.
And I think there was someone with an issue recently that was linked to php 7.4. Perhaps some things could work but I don’t think that they’ll backport everything to make NC 18 compatible with it (they haven’t done such things in the past).