Quantcast

Need Some PHP help

HomeBrewTalk.com - Beer, Wine, Mead, & Cider Brewing Discussion Community.

Help Support Homebrew Talk:

rockytoptim

Supporting Member
HBT Supporter
Joined
May 2, 2009
Messages
766
Reaction score
95
Location
Livonia, MI
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.

Code:
<html>  
<title>Test PHP</title>
<body>
<h1>Example</h1>

<?php echo "20"; ?>

</body>
</html>
Thanks Tim
 
Top