There's a strange first line in your attached file:
Editing: Encoding :
Not sure where it's coming from. The _config.php file should look somewhat like that:
<?php
global $project;
$project = 'mysite';
global $databaseConfig;
$databaseConfig = array(
'type' => 'MySQLDatabase',
'server' => 'localhost',
'username' => 'user',
'password' => 'pass',
'database' => 'dbname'
);
// Sites running on the following servers will be
// run in development mode. See
// http://doc.silverstripe.com/doku.php?id=devmode
// for a description of what dev mode does.
Director::set_dev_servers(array(
'localhost',
'127.0.0.1',
));
Also, I'm not sure why you have these lines in your _config.php
global $database;
$database = "troxlers_silverstripe";
require_once("conf/ConfigureFromEnv.php");
Could it be that you're running a really old version of SilverStripe? As far as I know, the _config.php looks more or less like the one I posted since version 2.0.