我在index.php有問題。當我嘗試運行應用程序時,我在瀏覽器中獲取了index.php文本。index.php不工作laravel 5
我使用的是Ubuntu。 我最近從windows切換到應用程序正常工作與xampp。以下是我的目錄結構的屏幕截圖。
以下是.htaccess文件。
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule^index.php [L]
</IfModule>
然後有沒有在您的服務器上的PHP或它是不活躍的。 – tkausl