Unable to connect to database: the deprecated mysql/mysqli PHP extension is still loaded. Disable it (remove /etc/php/5.6/*/conf.d/20-mysql.ini and 20-mysqli.ini) so the PDO DB layer can take over.