I have an active database on a server(S1). I am trying to get a website on a different server(S2) to access the data.
I have added the IP for (S2) to the Remote Mysql Database Access list.
I have set the host to what I have been told is the correct IP for (S1).
But I get the following error on the site I am trying to retrieve the info on:
Fatal error: Call to undefined function mysqli_connect() in /web/news/dbFunctions.php on line 21
line 21 is "return $conn = mysqli_connect ($hostname, $port, $username, $password, $dbname);"
NOT SURE what I have wrong, here is my connection info.
return $conn = mysqli_connect ($hostname, $port, $username, $password, $dbname);