PHP downloads file instead of viewing

Help, i’m going to do some project with PHP but the website downloads the file istead of viewing it. here is my project: hungry-imported-snowflake

You can’t use php with node.js.

You need to run a web server. Also it kinda beats the purpose of php if you are using nodejs. If it doesn’t have a webserver to look for get requests then it downloads, because it is not being run.

If you want to read PHP than you should run this project: