No database drivers (sqlite, mysql, or postgresql) installed

I am installing Nextcloud 13 with Nginx. Now I installed:
`
sudo apt-get install software-properties-common

sudo add-apt-repository ppa:ondrej/php

sudo apt install php7.1-fpm php7.1-common php7.1-mbstring php7.1-xmlrpc php7.1-soap php7.1-apcu php7.1-smbclient php7.1-ldap php7.1-redis php7.1-gd php7.1-xml php7.1-intl php7.1-json php7.1-imagick php7.1-mysql php7.1-cli php7.1-mcrypt php7.1-ldap php7.1-zip php7.1-curl`

`
I am getting the error

  • No database drivers (sqlite, mysql, or postgresql) installed.

  • PHP module zip not installed.

Please ask your server administrator to install the module.

  • PHP module dom not installed.

Please ask your server administrator to install the module.

  • PHP module XMLWriter not installed.

Please ask your server administrator to install the module.

  • PHP module XMLReader not installed.

Please ask your server administrator to install the module.

  • PHP module libxml not installed.

Please ask your server administrator to install the module.

  • PHP module mb multibyte not installed.

Please ask your server administrator to install the module.

  • PHP module GD not installed.

Please ask your server administrator to install the module.

  • PHP module SimpleXML not installed.

Please ask your server administrator to install the module.

  • PHP module cURL not installed.

Please ask your server administrator to install the module.

  • PHP modules have been installed, but they are still listed as missing?

Please ask your server administrator to restart the web server.
`
Also I have setup my MariaDB.
I restart my server multiple times.

Please can anyone tell me what is going wrong :smiley: ?

Fixed it, I was using PHP 7.2 which did not work. Rolled back to 7.1 and worked well :slight_smile:

I had the same problem with Ubuntu 20.04, Nextcloud 19.0.0 and PHP 7.4.3, I downgraded to version 7.3 of php and it worked.

sudo add-apt-repository ppa: ondrej / php

sudo apt-get update
sudo apt-get install php7.3

sudo apt-get install php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring php7.3-zip php7.3-fpm php7.3-intl php7.3-simplexml

sudo a2dismod php7.4
sudo a2enmod php7.3

sudo service apache2 restart

Why do you use a ppa-php and not the normal php from Ubuntu 20.04 LTS ? Read the part with php from the following nextcloud installation guides.

Ubuntu 20.04 LTS:
https://www.howtoforge.com/tutorial/ubuntu-nginx-nextcloud/

Debian Buster:
https://www.howtoforge.com/tutorial/how-to-install-nextcloud-on-debian-10

Hello,

Because it was too late, I was doing a test and it was the first thing that worked …

Thank you very much for your suggestion, I’ll take it …

Regards,