我在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