I'm running slackware 12.0 and would like my website to use php for a database that I will be implementing. On the web server, php is installed. I can run php -f *.php and I can see the modules with php -m.
However, when I put in a simple php file like
Code:
<html>
<body>
<?php
print "Hello World.";
?>
</body>
</html>
in my /var/www/htdocs folder and I view it in firefox I simply see the html src code, instead of just Hello World.
I have no other php file in my /var/www/htdocs folder. What do I need to do?