I decided to transfer phpmyadmin from one subdomain to another (on the same site). Added a subdomain to CNAME, changed the address in the virtual hosts apache and nginx , but now when entering a new subdomain, phpmyadmin gives an error:

The mysqli | mysql extension is missing. Please check your PHP configuration. See our documentation for more information.

When trying to access the site:

Fatal error: Uncaught Error: Call to undefined function mysqli_connect ()

I didn’t change or touch anything except the Wirth address in apache/ngninx . Before that, everything was in order.

Server - Centos 7 , php7 , mariadb10 .

  • So in the PHP config for this subdomain there is no this extension. If the config is the same for all subdomains, then check this by creating a file with <? Php phpinfo (); ?> and check if this extension is there. In the same place the way to php.ini will be visible if I am not mistaken. - Daniel Protopopov

0