I have set up Google App Engine on my linux server. So when I run App Engine, and my app, it is accessible via: http://website.com:8080
In the "homepage" of the app, I have some simple PHP syntax saying:
require "config.php";
In config.php, I have my MySQL connection code:
<?php
DEFINE ('DB_USER', 'mysqlusername');
DEFINE ('DB_PASSWORD', 'mysqlpassword');
DEFINE ('DB_HOST', 'mysqlserver');
DEFINE ('DB_NAME', 'database');
$dbc = @mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME)
OR die('Cound not connect to MYSQL' .
mysqli_connect_error());
session_start();
?>
For some reason when I start the App, I have a completely blank page, and in the log of my server, it says:
ERROR:root:php failure (255) with: stdout: X-Powered-By: PHP/5.4.25 Content-type: text/html
stderr:
INFO 2014-12-12 22:50:04,909 module.py:718] default: "GET / HTTP/1.1" 500 -