so I just installed everything to run PHP, and I started with the Hello World tut.
I pasted
Code:
<html>
<body>
<?php
echo "Hello World";
?>
</body>
</html>
to a kate and saved it test.php on desktop
when I opened it, it asked me to either open it (with kate) or save it (as if I am downloading the page)
on the other hand, if I made a php file and put it in /var/www/
it works perfectly.
my question: should it only work in /var/www/ ??? is it normal like this?
if not , why is this happening?