SLIMフレームワークを使用してAPIを作成しました。これらのAPIは、PHP 5.3で実行すると正しく実行されますが、PHP 5.2を搭載したシステムで実行すると、機能しません。
これらは、PHP5.2で問題を引き起こしている.htaccessという名前のファイルです。
以下は.htaccessファイルのコードです
RewriteEngine On
# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-d
PHP5.2でAPIを実行するにはどうすればよいか教えてください
前もって感謝します。