Welcome to the Treehouse Community
Looking to learn something new?
XAMPP not running
I just started the course Build a Simple PHP App. I'm on the part where you download XAMPP and then create a php tag in an html index to display the current year.
<h1>Shirts 4 Mike</h1> <p>©<?php echo date('Y'); ?> Shirts 4 Mike</p>
My html runs, but the php code doesn't execute. In other words, the year doesn't appear in the browser, just the html title.
I restarted the computer after downloading. I also turned off my antivirus program until after the download completed.
Thanks. I appreciate any suggestions offered.
I finally found the answer. For anyone else having this same issue, please follow this link:
It does a wonderful job of explaining the vital information that Team Treehouse somehow manages to exclude.
" I'm on the part where you download XAMPP and then create a php tag in an html index to display the current year."
Your file needs to end with .php, not .html
No, I didn't. The video didn't mention that at all. It just said to open up the php file in the browser using localhost/test.php.
I'm pretty new to this. Would you mind too much directing me to the Apache cp?