PHP just downloads file

Hello All, I have followed the tutorial on how to enable PHP here and for some reason instead of running the PHP file it just downloads it. Does anyone know how to fix this?

Did you reload nginx or reboot the server since making the changes?

Yeah, I did. But its okay I fixed it, I forgot to add index.php to the config

1 Like