我正在尝试在运行 Ubuntu Server 的 Raspberry Pi 上安装 Multicraft,它一直出现以下代码:
<?php
/**
*
* Copyright © 2010-2021 by xhost.ch GmbH
*
* All rights reserved.
*
**/
$yii = dirname(__FILE__).'/protected/yii/yii.php';
$config = dirname(__FILE__).'/protected/config/internal/application.php';
// uncomment the following line to enable more detailed error messages
//defined('YII_DEBUG') or define('YII_DEBUG',true);
// how many levels of call stack should be shown in each log message
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
if (!@file_exists(dirname(__FILE__).'/protected/config/config.php'))
header('Location: install.php');
else
{
require_once($yii);
Yii::createWebApplication($config)->run();
}
答案1
要修复网站出现的 PHP 问题,您需要安装并重新启动 PHP,如本论坛所示。 https://www.linode.com/community/questions/21852/cant-access-multicraft-installation-page