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

lararocks's avatar

Laravel downloads a file instead of viewing the site

Hello,

My Laravel site works perfectly on localhost. Now as I uploaded it to shared hosting, when I try to access the site, it downloads a file named "download" rather than displaying the site.

I made sure I set the right php version on the server, and all folder permissions seem to be correct.

Any idea?

0 likes
1 reply

Please or to participate in this conversation.