IIS 5 & IIS 6
Fast CGI and IIS6
Last post Oct 17, 2011 04:26 AM by HCamper
Oct 11, 2011 06:38 PM|scottPaananen|LINK
I've followed the steps in this guide:
When i try to get to my page, i only get a blank page.
Oct 11, 2011 06:47 PM|HCamper|LINK
Have you check the php-error.log for messages?
Have you set the Time / Zone in the php.ini file as part of post install?
Have you changed php.ini to show errors ?
Oct 11, 2011 07:00 PM|scottPaananen|LINK
yea, i set the timezone, and i have set PHP to log errors, none are coming up.
Any more ideas?
Oct 11, 2011 07:07 PM|scottPaananen|LINK
I've noticed that if i go to the page, and view the source, i see the PHP code.
It seems like it is not executing the php code.
Oct 11, 2011 09:22 PM|HCamper|LINK
I said "Have you changed php.ini to show errors". By Default you do not see the errors in the browser.
The reason for seeing the PHP code is the Handler and Mapping are wrong.
Have you checked the PHP using the command line for test.php with <?PHP phpinfo(); ?> first.
The checked the PHP by copying test.php to C:\Inetpub\wwwroot\test.php
and then Enabling the Handler and Mapping in IIS Server and restarting the IIS Server.
The tested the PHP by using a browser with http:// localhost / test.php ?
Which installer did you use:
The Windows non-thread-safe using the msi installer ?
The Windows non-thread-safe using the zip archive ?
Have you checked the extensions in php.ini ?
Lots of ideas for common problems and issues.
You could try the no comments PHP install Tour
Oct 11, 2011 09:53 PM|HCamper|LINK
I see you have
http://forums.iis.net/p/1182297/1998809.aspx#1998809 WAMP IIS Server PHP & MySQL Server
this set of items that can cause confilicts and problems.
You can get into problems with PHP for Windows and WAMP they both
want to use the Windows location for the php.ini.
I have Learned this gets messy complex and take writing things down.
Oct 14, 2011 09:15 AM|London|LINK
PHP code returned means scriptmap is incorrect. Make sure the correct 32/64bit installation package is downloaded, double check the "Manually Configure the FastCGI Extension to Work with PHP" section in the article you posted, and use php.info page verify
Oct 17, 2011 04:26 AM|HCamper|LINK
Download the latest FastCGI from here
You need to use PHP installer for non-thread-safe Windows latest release from PHP for Windows Site.
The "Apache" versions will not work with IIS Server or FastCGI.
Remove all the previous IIS Server Handlers and Mappings and settings.
Start fresh with
http://learn.iis.net/page.aspx/724/install-and-configure-php/ settings and configuration.
Do the Handlers and Mappings for FastCGI and recycle settings.
Then do the post install tests at the command-line and at IIS Server using the test.php.
If you still have problems post the errors from php-error.log php.ini settings for extensions.