Maybe also change the configuration file contents with the correct database host, since the index.php file doesn’t have any configuration content for the database. Also, to enable Display Errors, quoted from this article:
Login to your control panel.
Go to Alter PHP Config.
Select the domain name you are trying to debug and click Alter PHP Directives.
Set “Display Errors” to “On” and click the Alter PHP Directives button to save.
If you refresh the page, you should hopefully see an error message.
Warning : mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /home/vol5_5/epizy.com/epiz_25554520/htdocs/inc/database.php on line 9
Warning : mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /home/vol5_5/epizy.com/epiz_25554520/htdocs/inc/database.php on line 9
Failed to connect to MySQL: php_network_getaddresses: getaddrinfo failed: No address associated with hostname Warning : mysqli_query() expects parameter 1 to be mysqli, bool given in /home/vol5_5/epizy.com/epiz_25554520/htdocs/login.php on line 12
Warning : mysqli_error() expects parameter 1 to be mysqli, bool given in /home/vol5_5/epizy.com/epiz_25554520/htdocs/login.php on line 12