I'm working through PHP's Hello World tutorial from the manual at "A simple tutorial" (
http://secure.php.net/manual/en/tutorial.php). I installed `apache2` and `php` on Ubuntu 16.10 desktop. I tested the install by navigating to the IP address, and I got the expected index page with details about the installation.
Next, I pasted the following code into a new document `/var/www/html/index.php`, performed a `dos2unix` on it, and made it executable. The code came from "Your first PHP-enabled page" (
http://secure.php.net/manual/en/tutorial.firstpage.php).
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
It results in the following (image at
https://postimg.org/image/qwdjpvg4f/):
Hello World
'; ?>
I'm doing something wrong, but its not obvious to me what it is. I'm guessing the manual left out a step or two.
What am I doing wrong?