IIS is literally sending <?php ... ?> code to the browser rather then executing it.
But, only for the root http://domain.com/index.php file.
All other .php files in that folder and index.php files in subfolders execute as expected.
How can I get my root index.php code to execute?
Update: ‘index.php’ is a Default Document of my Web Site…
alt text http://img412.imageshack.us/img412/4130/defaultdocumentmt9.gif
UPDATED: I have found a few possible workarounds for PHP 5 and IIS 7. If those solutions are not working, please provide more details about your
index.php, IIS setup, or try to use IIS 6 compatibility.