I just enabled PHP on Mac OS X, but when I tried to test it, the PHP info is not showing up. Here is what I did. I created a file in dreamweaver and wrote the following code:
<html>
<head>
<title>PHP test</title>
</head>
<body>
<?php
phpinfo()
?>
</body>
</html>
The "<?php and ?> are shown in red (I think it means error)
I can tell that the page is there (by looking at the title), but the PHP info is not showing up. What did I do wrong? pls help. Thanks



