3

PHP shows page source code in browser

view full story
linux-howto

http://serverfault.com – I have Windows 2008 Server with IIS, PHP, MySQL installed on it and there are several PHP websites working fine. But when I try to open one of my websites in a browser it shows the source code of page instead of executing the PHP code. I thought that this is related to the MySQL database connection at first, but when I installed Vs.Php for Visual Studio 2010 and tried to open my website, it worked. I think it may be related with IIS settings. By the way test.php works fine. Any idea? (HowTos)