I have a problem in index.php. When i try to run the application i get the text of index.php in the browser.
I am using ubuntu. I recently switched from windows where application was working fine with xampp. Following is the screenshot of my directory structure.
Following is the .htaccess file.
<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>
And following is the screenshot of index.php file in the browser.

