So I just set up LAMP server on old laptop with the intention of using it to monitor my fermentation fridge.
Got web server (Apache2, PHP 5.3) up and running and can view simple webpage that I made. I have and issue in that I cannot get my server to show simple php code inside html file. I am guessing I missed something in the Apache2 config. Any help would be appreciated.
Thanks Tim
Got web server (Apache2, PHP 5.3) up and running and can view simple webpage that I made. I have and issue in that I cannot get my server to show simple php code inside html file. I am guessing I missed something in the Apache2 config. Any help would be appreciated.
Code:
<html>
<title>Test PHP</title>
<body>
<h1>Example</h1>
<?php echo "20"; ?>
</body>
</html>
Thanks Tim