Error: application/x-httpd-php (256 bytes)

surfsup

Well-known member
I added Xenforo in Root of the httpdocs , and everytime i access the SUB-domain or /install it wants to download a file application/x-httpd-php (256 bytes)

What am I doing wrong?
 
Try downloading the file and opening it in a text program. Does it show an error message? Or does it show raw PHP code (which indicates PHP is not installed)?
 
This is what the file says inside:

<?php

$startTime = microtime(true);
$fileDir = dirname(__FILE__);
$rootPath = realpath($fileDir . '/..');
chdir($rootPath);

require($rootPath . '/library/XenForo/Autoloader.php');
XenForo_Autoloader::getInstance()->setupAutoloader($rootPath . '/library');

XenForo_Application::initialize($rootPath . '/library', $rootPath, false);
XenForo_Application::set('page_start_time', $startTime);

XenForo_Phrase::setPhrases(require($fileDir . '/language_en.php'));
XenForo_Template_Install::setFilePath($fileDir . '/templates');

$fc = new XenForo_FrontController(new XenForo_Dependencies_Install());
$fc->run();
 
Top Bottom