Starting Apache httpd, serving some time not start


Starting Apache httpd, serving

my code

<?php // A simple PHP script demonstrating how to connect to MySQL. // Press the 'Run' button on the top to start the web server, // then click the URL that is emitted to the Output tab of the console. $servername = getenv('IP'); $username = getenv('C9_USER'); $password = ""; $database = "c9"; $dbport = 3306; // Create connection $db = new mysqli($servername, $username, $password, $database, $dbport); $db->query("set names utf8"); // Check connection if ($db->connect_error) { die("Connection failed: " . $db->connect_error); } echo "Connected successfully (".$db->host_info.")"; ?>