PHP_PDO_MYSQL error in log

Hello. Running Nextcloud 9.0.53 (upgraded from 9.02 a few weeks ago) and all is well. Going to 10 soon. Running on a Ubuntu 16.04 VPS with Nginx and PHP 7.0. All is well. However, an error is getting thrown in the log below:

Error PHP PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20151012/php_pdo_mysql.dll’ - /usr/lib/php/20151012/php_pdo_mysql.dll: cannot open shared object file: No such file or directory at Unknown

It is happening for users and admin all day long. We are using the Sync client. The extension is enabled in the php subsystem.

Any idea what this might be and how to fix?

Thanks
Dave

I wouldn’t expect a dll-file on a Linux system. Can you check your configuration files in /etc/php*/*, the you somewhere load this extension (probably something like extension=/usr/lib/php/...). Comment this line out.

Thanks very much. I will check that out. It is odd it is even trying to load it but it appears php 7.0 is trying to load it. I did check the extensions folder and they are all .so extensions so I will need to dig for it.

Thanks dave