I've set up a small php file called phpinfo.php the script is below.
<!DOCTYPE html PUBLIC "_//W3C//DTD XHTML
1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/
xhtml-transitional.dtd">
<html xmlns="http://www.w3.org/1999/
xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type"
content="text/tml; charset=utf-8" />
<title>First PHP Script</title>
</head>
<body>
<?php
phpinfo();
?>
</body>
</html>
I've already installed both php5 and apache2, but when I type 127.0.0.1/phpinfo.php into the browser I get 404 Not Found. I did move the phpinfo.php file into the /usr/share/apache2/default-site directory. Now if I type 127.0.0.1 by itself I get the default index.html "It Works". Any ideas?