Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

RushVan's avatar

Spark fresh install - 404 errors

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!

0 likes
1 reply
RushVan's avatar
RushVan
OP
Best Answer
Level 5

Answer: Use vhosts when developing on a Windows box with XAMPP.

1 like

Please or to participate in this conversation.