0

I have installed fresh Laravel project and the welcome page shows up when using artisan serve, but when trying to access via vhost the page seems to be reloading infinitely. Im on Windows using WAMP and vhost is properly pointed to Laravels public folder (when I echo something from index.php it works). I also tried without vhost directly from localhost and same thing happens. No logs in any log neither Laravel nor apache. Any ideas what might be the problem?

Here is the vhost:

    <Directory "D:\Projects\PHP\psp\public">
    allow from all
    order allow,deny
    AllowOverride All
</Directory>
<VirtualHost *:80>
    ServerAdmin admin@psp.test
    DocumentRoot "D:\Projects\PHP\psp\public"
    ServerName psp.test
    ServerAlias www.psp.test
    ErrorLog "logs/psp.log"
    CustomLog "logs/psp-access.log" common
</VirtualHost>

Thanks

laza89
  • 23
  • 3

1 Answers1

0

For anyone else that might bump into this, its the PHP VERSION. Laravel docs say it needs >=7.2 and I was trying with 7.3, when I switched to 7.2 just to see if anything is different it worked... Anyway thanks for all the help.

laza89
  • 23
  • 3