Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hey! I get HTTP error 500 everytime I try to use mysqli_connect in my php file.
This is my code and link to the file I am having trouble with: http://138.68.86.134/getInfo.php
<?php
session_start();
if(!isset($_SESSION["access"])) {
echo "null";
} else if (isset($_SESSION["access"])) {
// Here I am trying to use mysqli_connect
$db = mysqli_connect("138.68.86.134", "root", "mypassword", "database")
echo "Confirmed";
} else {
echo "Something went wrong...";
}
?>
This is my Info.php file: http://138.68.86.134/info.php
I’ve followed every step for Debain LAMP tutorial here on DigitalOcean still this doesn’t work. I am very frustrated and I would highly appreciate any answer! Much love <3
hbarnard
keneucker
keneucker
rich
santoshpatil
Aspiresoftserv
Yakin
Thejaswini-Rao-U
775c69c916d345a7a367d867078ccb
mayricoak
ndam
bc2f52583874402a988f587c00195d