Hi we have a little issue due to an url call at our server
if we call http://OUR_IP/phpmyadmin it answer
phpMyAdmin - Error
The mysqli extension is missing. Please check your PHP configuration. See our documentation for more information.
Can we disable any answer for direct ip access and only valid if called via fqdn hostname ?
Thanks
Which gives you access to phpmyadmin from all installed domains. There are a couple of minor tweaks you have to but phpmyadmin has good support for those. If you installed by the virtualmin web app installer it will be setup to the version of php on that domain and will install the mysqli extension for that version of php and not the other versions you may have installed, so it maybe a case of installing the mysqli extension for all installed php versions
Ok, i do not want that if i digit http://myip/phpmyadmin will receive that warning .
If i use and enable phpmyadmin script for a fqdn virtual host it works as expected.
I just do not want it replies to a request directly done to IP / phpmyadmin.
Thanks
when you visit http://myip/phpmyadmin it will use your default website as set in: Virtualmin --> Web configuration --> Website Options --> Default website for IP
find out which domain this is
check what PHP version this domain is using
check the required PHP extensions are installed for this version of PHP
See if this fixes your issue
NB: letsencrypt does not support SSL certificates for IP addresses.