これは非常に初心者の質問です。基本的には、Silexの「HelloWorld」を実行しようとしています。ディレクトリにsilex.pharファイルをインストールし、.htaccessファイルを次のように設定します。
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
#RewriteBase /projects/silex/ ###--> commented out because file is in root dir. <--##
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
次に、index.phpファイルで次の2行のコードを実行します。
require_once __DIR__.'/silex.phar';
$app = new Silex\Application();
500の内部サーバーエラーが発生します。("ファイルが存在しません")
Linuxでphp5.3.8を実行しています。
探しているPHP設定はありますか?