NOTE: I'm using apache2 on Linux with PHP 5
Suppose I had this simple hello_world.php file:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World </p>'; ?>
</body>
</html>
...and I wanted to display it on my apache2 server. How do I do this, and where do I move the source code? Thank you in advance
Hello World
`, and ensure that Apache is loading PHP, then you will probably be fine. =) – Andreas Hagen Dec 31 '12 at 22:46