Report this

What is the reason for this report?

Deploying PHP site

Posted on July 24, 2018

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->connect_error) { 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?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.