SF2アプリケーションをRHELを使用する新しいマシンにデプロイしました。
「apache」の下のCheck.phpは、キャッシュ/ログへのアクセス権は問題ないと言っています。
ただし、app.phpまたはapp_dev.phpを呼び出すと、app.phpからエラーコード500、app_dev.phpからエラーコード200の空白の応答が返されます。
app/logsにログファイルは作成されません。
「apache」ユーザーに対して実行されているcheck.php出力は次のとおりです。
********************************
* * * Symfony requirements check * * *
********************************
php.ini used by PHP: /etc/php.ini
** WARNING **
* The PHP CLI can use a different php.ini file
* than the one used with your web server.
* If this is the case, please ALSO launch this
* utility from your web server.
** WARNING **
** Mandatory requirements ** OK
Checking that PHP version is at least 5.3.2 (5.3.3 installed) OK
Checking that the "date.timezone" setting is set OK
Checking that app/cache/ directory is writable OK
Checking that the app/logs/ directory is writable OK
Checking that the json_encode() is available OK
Checking that the SQLite3 or PDO_SQLite extension is available OK
Checking that the session_start() is available OK
Checking that the ctype_alpha() is available OK
Checking that the token_get_all() is available OK
Checking that the APC version is at least 3.0.17 ** Optional checks ** OK
Checking that the PHP-XML module is installed OK
Checking that the token_get_all() function is available [[WARNING]]
Checking that the mb_strlen() function is available: FAILED *** Install and enable the mbstring extension *** OK
Checking that the iconv() function is available OK
Checking that the utf8_decode() is available [[WARNING]]
Checking that the posix_isatty() is available: FAILED *** Install and enable the php_posix extension (used to colorized the CLI output) *** [[WARNING]]
Checking that the intl extension is available: FAILED *** Install and enable the intl extension (used for validators) *** OK
Checking that a PHP accelerator is installed OK
Checking that php.ini has short_open_tag set to off OK
Checking that php.ini has magic_quotes_gpc set to off OK
Checking that php.ini has register_globals set to off OK
Checking that php.ini has session.auto_start set to off ** Optional checks (Doctrine) ** OK
Checking that PDO is installed OK
Checking that PDO has some drivers installed: pgsql, sqlite
編集
すべてのヒントをありがとう-しかし悲しいことに効果がない...
- .htaccessは機能しています
- mod_rewriteが有効になっています
- display_errorsがオンになっています
- apacheログにエラーは表示されません
- AppKernelパスは問題ありません
- app_dev.phpの$kernel->loadClassCache()はOKです(echoを使用してその行の後に出力を取得しますが、ハンドルの後に応答がありません