Deploying PHP site

July 24, 2018 353 views
PHP MySQL

I have installed the LAMP configuration and copied a PHP site to the server. I am using dfconfig file with DB connection setup as below:

$servername = "localhost";
$username = "username";
$password = "password";

$dbname = "instarld_instacks";

$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connecterror) {
die("Connection failed: " . $conn->connect
error);
}

When tried to open my website, I am getting this: This Page isnt working. Domain unable to handle the request.

Opening html pages doesnt have this issue.

Can anyone help me deploying my website?

1 Answer

Hello friend!

I'm afraid the error it is returning is not actually detailing the problem. Do you know if this application has a configuration for outputting debug information?

Kind Regards,
Jarland

  • Hi Jarland,

    Unfortunately the application doesnt have any error logs enabled :(

    Regards,
    Instacks

Have another answer? Share your knowledge.