Level 5
Answer: Use vhosts when developing on a Windows box with XAMPP.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Ugh, sorry if this is a super noob issue. I just fired up a fresh install of Spark and am getting 404 errors for all the default pages. They all reference '/'viewName. This directs the app to localhost/viewName not localhost/myApp/public/viewName. It's easy to resolve by removing the '/' in the href but surely there is a global single location fix?? Can't seem to find it - for the trees.
Namespace issue?
Thanks!
Answer: Use vhosts when developing on a Windows box with XAMPP.
Please or to participate in this conversation.