Need Some PHP help

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

rockytoptim

Supporting Member
HBT Supporter
Joined
May 2, 2009
Messages
762
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
 
Back
Top