IIS 7 and Above
localhost or 127.0.0.1 yields blank page
Last post Aug 27, 2011 09:10 PM by HCamper
Aug 25, 2011 11:45 PM|Dan....|LINK
Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that \$ has
Read access to the physical path. Then test these settings again.
Aug 26, 2011 02:04 AM|HCamper|LINK
You should start with making sure IIS Server is installed correctly recheck the check boxes for the Feaures as show in the guide
After the IIS Server installation is correctly you should not need to create the "index.html" it will contain the proper
code and links for the "Welcome Screen".
The test settings error can be mis-leading depedending on how you have configured the "Application Pool" user with permissions and the mode.
The error with the PHP installation indicates you may have missed Post install steps for Time / Zone and Extensions.
You should you IIS Net guide
http://learn.iis.net/page.aspx/724/install-and-configure-php/ to start with
followed by IIS Net Guide for FastCGI Configuration and finally IIS Net guide for Recycle settings.
You need to create a test.php page in the C:\inetpub\wwwroot\test.php
that contains <?php phpinfo(); ?> and first test using >php test.php at the command line.
If the php command line works for test.php you then can browse to the test.php in the IIS Server at http:// localhost / test.php .
If the test.php page displays information about Windows System and PHP information with-out errors you should be ok.
You have set the properties of the wwwroot folder to be shared with "Everyone" that is not a good idea
and leaves the IIS Server open to Security Risks.
I suggest you un-do the changes for "Everyone" and read IIS Net Learning Library information in section installing
guide "Understanding Built-in User Group Accounts in IIS 7" .
Aug 26, 2011 06:33 AM|KristoferG|LINK
Do you send a request for http://localhost/ or
http://localhost/index.html ? Please try the latter and see if this gives you the page.
If it does not, can you please use WFetch and send a request to the localhost, and the paste the request and response. This will give us valuable information for helping you.
You can also use Fiddler to achieve the same.
Another option is to check the IIS log file for the website, and paste the requested line here, so we can see the status codes returned by IIS.
Aug 27, 2011 03:51 PM|Dan....|LINK
Aug 27, 2011 09:10 PM|HCamper|LINK
Hi @ Dan,
Well now you have PHP installed and working.
You can start Connecting to Databases with SQL Server with the PHP SQL Driver.
Maybe IIS Team Brian Swan PHP coding