Are you correctly pointing to public as document root.
wamp vhost download index.php instead of opening it
I just switched from xampp to wamp and every thing is working well , but my vhosts are not working but downloading index.php , ive tried every solution out there and its not working , my phpinfo() at root is working , I removed htaccess or parts of it and tried a lot and nothing seems to work http.conf contains : AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 , local host and artisan serve work perfectly even WordPress sites vhost worked 100% , only with Laravel projects I got this issue , any solution ?
and this is my htaccess (that worked fine wth xampp):
Options -MultiViews -IndexesRewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-da
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Please or to participate in this conversation.