IIS7上的Symfony沙盒1.4沙箱我得到的只是响应代码500


Symfony sandbox 1.4 sandbox on IIS7 all I get is response code 500

我被要求维护一个网站,但开发环境尚未正确设置。首先,它将所有请求重定向到生产服务器,但在修复后,我得到的只是响应 500。

该应用程序在 IIS 中设置为远程和本地(在错误页面下)显示详细的错误消息。

索引.php包含以下内容:

<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
$configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', false);
sfContext::createInstance($configuration)->dispatch();
?>
/

apps/frontend/config/settings.yml for dev:

dev:
  .settings:
    error_reporting:        <?php echo (E_ALL | E_STRICT)."'n" ?>

我希望在这里报告某种错误,而不是 500 响应。有什么我忘记做的事情吗?

在此处将调试标志更改为true

$configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', false);