I am new here and I tried to start a project offline. From the beginning I have the same problem. I have a local domain (syworkx.local). I have line in hosts (in windows directory), I have line in httpd-vhosts.conf with info where is exactly the servis. I have also info in .env what is the app_dir.
The homepage is works ok but after successfully login I have a wrong route. I see the syworkx.local/dashboard but from wrong directory.
I have the same if I put localhost or syworkx.local in chrome. I have many projects in my xampp.
What exactly I have to change to start the project? I would like to explain that online everything is works good.
Please somebody help me. I know it is a small detail but my project doesn't work.
Thanks for help.
php -vto check if environment variable is properly set. If set correctly you'll see PHP version on cmd