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 .