EDIT: To answer some of the comments - the file extension is .php, the perspective is PHP, and it is in a PHP project. I can't use different tools because this is a school project
I have Eclipse with Web Tools (so I can do web projects with JSP). I also have to use Eclipse for my PHP development (I am using it with XAMPP, if that matters). (Two different school projects.)
I have installed the plug in for PHP (in addition to XAMPP, which includes PHP itself) and it appears to work, in that I have a PHP perspective and can create a new PHP project. However, even when doing something as simple as the below, it doesn't work. Eclipse does not recognize the php tags at all.
Does anyone have any ideas what I'm missing?
<html>
<head>
<title>My First PHP Page</title>
</head>
<body>
<?php
echo "Hello World!";
?>
</body>
</html>