【问题标题】:Drupal installation issue. Strange errorDrupal 安装问题。奇怪的错误
【发布时间】:2015-02-04 19:15:47
【问题描述】:

所以我今天早些时候安装了 Drupal 8 beta,安装后我在 localhost/drupal 上得到了以下内容:

我决定删除 Drupal 8 并获得稳定版本,以防这是问题所在。原来我也有稳定版。

可能是 apache2.conf 问题?但我是 Drupal 的新手,对于不使用 CMS 的其他网站没有其他问题。

感谢您的宝贵时间。

编辑:

handle($request) // Handle the response object.    ->prepare($request)->send(); $kernel->terminate($request, $response); } catch (HttpExceptionInterface $e) { $response = new Response($e->getMessage(), $e->getStatusCode()); $response->prepare($request)->send(); } catch (Exception $e) { $message = 'If you have just changed code (for example deployed a new module or moved an existing one) read http://drupal.org/documentation/rebuild'; if (Settings::get('rebuild_access', FALSE)) { $rebuild_path = $GLOBALS['base_url'] . '/rebuild.php'; $message .= " or run the rebuild script"; } // Set the response code manually. Otherwise, this response will default to a // 200. http_response_code(500); print $message; throw $e; } 

【问题讨论】:

  • 我实际上无法阅读该屏幕截图。为什么不直接复制并粘贴消息?
  • 似乎 PHP 甚至没有被解释。你能确认 PHP 在你的设置上工作吗?

标签: php mysql apache drupal


【解决方案1】:

尝试查看位于以下位置的 http.conf 文件:/private/etc/apache2

确保 #LoadModule php5_module libexec/apache2/libphp5.so 未注释。

【讨论】:

    【解决方案2】:

    如果你安装了新版本的php(在我的例子中是php7)你应该安装

      sudo apt-get install libphp7.0-embed
    

    【讨论】:

      猜你喜欢
      • 2015-11-17
      • 1970-01-01
      • 2015-06-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多