<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx</link><description>Question: Hi all, I have trouble to configure PHP 5 (CGI mode) in IIS 7 on Vista 5308... What I did: - Download and unpack PHP - set user permission to PHP folder AND script folder (IIS_IUSRS and Internet Guest Account) - in IIS Manager: Added pages in</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#568076</link><pubDate>Tue, 04 Apr 2006 16:01:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:568076</guid><dc:creator>CG</dc:creator><description>Oh, thanks a lot!</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#614296</link><pubDate>Fri, 02 Jun 2006 18:02:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:614296</guid><dc:creator>Corey S</dc:creator><description>I followed the steps set out above and ran into a brick wall in the command prompt. (I'm guessing this is simply a security permission setting in Vista itself I need to change)&lt;br&gt;On entering &amp;quot;APPCMD SET CONFIG -section:handlers --[name='StaticFile',path='*',verb='*']&amp;quot; I get the following error:&lt;br&gt;&amp;quot;ERROR ( message:Configuration error&lt;br&gt;Filename: \\?\C:\Windows\system32\inetsrv\applicationHost.config&lt;br&gt;Line Number: 0&lt;br&gt;Description: Cannot read configuration file )&amp;quot;&lt;br&gt;&lt;br&gt;The file exists and read permissions are set for all user types, so I'm stumped. If it said it couldn't write to the file I could understand it.&lt;br&gt;Am I an idiot, or did I make a simple mistake?</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#617864</link><pubDate>Mon, 05 Jun 2006 15:30:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:617864</guid><dc:creator>steve</dc:creator><description>i ran your recommended script as a batch file, it succeeded and the changes showed up in the iis manager. &amp;nbsp;however, i buit the same index.php with &amp;lt;?php phpinfo(); ?&amp;gt; and it returns the following:&lt;br&gt;&lt;br&gt;Server Error in '/' Application.&lt;br&gt;--------------------------------------------------------------------------------&lt;br&gt;&lt;br&gt;Index was outside the bounds of the array. &lt;br&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br&gt;&lt;br&gt;Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.&lt;br&gt;&lt;br&gt;Source Error: &lt;br&gt;&lt;br&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. &amp;nbsp;&lt;br&gt;&lt;br&gt;Stack Trace: &lt;br&gt;&lt;br&gt;&lt;br&gt;[IndexOutOfRangeException: Index was outside the bounds of the array.]&lt;br&gt; &amp;nbsp; System.Web.HttpApplication.AddEventMapping(String moduleName, RequestNotification requestNotification, Boolean isPostNotification, IExecutionStep step) +166&lt;br&gt; &amp;nbsp; System.Web.PipelineStepManager.BuildSteps(WaitCallback stepCallback) +81&lt;br&gt; &amp;nbsp; System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1191&lt;br&gt; &amp;nbsp; System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +348&lt;br&gt; &amp;nbsp; System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +163&lt;br&gt; &amp;nbsp; System.Web.Hosting.PipelineRuntime.ExecuteStateHandler(IntPtr&amp;amp; managedRequestContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) +657&lt;br&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;--------------------------------------------------------------------------------&lt;br&gt;Version Information: Microsoft .NET Framework Version:2.0.50727.88; ASP.NET Version:2.0.50727.88 &lt;br&gt;&lt;br&gt;any advice?</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#617866</link><pubDate>Mon, 05 Jun 2006 15:35:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:617866</guid><dc:creator>steve</dc:creator><description>btw, corey, i had the same problem. &amp;nbsp;i created the directory, extracted php, copied over the recommended into php.ini, then made a file called php.bat that contained the rest of david's script:&lt;br&gt;&lt;br&gt;PUSHD %SYSTEMROOT%\System32\inetsrv&lt;br&gt;APPCMD SET CONFIG -section:handlers --[name='StaticFile',path='*',verb='*']&lt;br&gt;APPCMD SET CONFIG -section:handlers -+[name='PHP',path='*.php',verb='GET,HEAD,POST',modules='IsapiModule',scriptProcessor='%SYSTEMDRIVE%\Inetpub\PHP\php5isapi.dll',resourceType='File']&lt;br&gt;APPCMD SET CONFIG -section:handlers -+[name='StaticFile',path='*',verb='*',modules='StaticFileModule,DefaultDocumentModule,DirectoryListingModule',resourceType='Either',requireAccess='Read']&lt;br&gt;APPCMD SET CONFIG -section:isapiCgiRestriction -+[path='%SYSTEMDRIVE%\Inetpub\PHP\php5isapi.dll',allowed='true',groupId='PHP',description='PHP5']&lt;br&gt;POPD&lt;br&gt;&lt;br&gt;i saved that, right clicked it and chose run as adminstrator</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#629496</link><pubDate>Tue, 13 Jun 2006 17:35:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:629496</guid><dc:creator>Jamie</dc:creator><description>I have followed the install guide and still receive the following:&lt;br&gt;Server Error in 'Default Web Site' Application.&lt;br&gt;&lt;br&gt;--------------------------------------------------------------------------------&lt;br&gt;&lt;br&gt;HTTP Error 404.4 - Not Found&lt;br&gt;Description: The resource you are looking for does not have a module or handler associated with it. It cannot be handled and served. &lt;br&gt;&lt;br&gt;Error Code: 0x00000000 &lt;br&gt;&lt;br&gt;Notification: ExecuteRequestHandler &lt;br&gt;&lt;br&gt;Module: IIS Web Core &lt;br&gt;&lt;br&gt;Requested URL: &lt;a rel="nofollow" target="_new" href="http://localhost:80/test.php"&gt;http://localhost:80/test.php&lt;/a&gt; &lt;br&gt;&lt;br&gt;Physical Path: C:\inetpub\wwwroot\test.php &lt;br&gt;&lt;br&gt;Logon User: Anonymous &lt;br&gt;&lt;br&gt;Logon Method: Anonymous &lt;br&gt;&lt;br&gt;Handler: PHP &lt;br&gt;&lt;br&gt;Causes: &lt;br&gt;&lt;br&gt;The file extension for the requested URL does not have a module or handler configured to execute the request on the IIS server. </description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#631986</link><pubDate>Thu, 15 Jun 2006 11:01:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:631986</guid><dc:creator>David.Wang</dc:creator><description>Corey - by default, you login as a limited rights user on Vista, which cannot change applicationHost.config from commandline tools like APPCMD.EXE or even notepad.&lt;br&gt;&lt;br&gt;You have to run the commands or make modifications using the privileged Administrator account, as Steve describes.&lt;br&gt;&lt;br&gt;//David</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#631993</link><pubDate>Thu, 15 Jun 2006 11:10:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:631993</guid><dc:creator>David.Wang</dc:creator><description>Steve - Not certain about your issue. I did not encounter any problems running &amp;lt;?php phpinfo(); ?&amp;gt; after following the instructions. &lt;BR&gt;&lt;BR&gt;My guess is that you had something additional ASP.Net httpModule/httpHandlers enabled, or non-default modules/handlers list. Misconfigurations in there can cause non-obvious failures. &lt;BR&gt;&lt;BR&gt;My suggestion is that after you install IIS7 that you make a backup of applicationHost.config so that you can muck around with IIS7 configuration however you want, and if you screw up, just copy the backup and be back in business. &lt;BR&gt;&lt;BR&gt;//David</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#632000</link><pubDate>Thu, 15 Jun 2006 11:14:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:632000</guid><dc:creator>David.Wang</dc:creator><description>Jaime - I just updated the blog entry to address your issue.&lt;br&gt;&lt;br&gt;Since I made the blog entry in April, which included a workaround for a known IIS7 bug, the bug was fixed and invalidated the work-around.&lt;br&gt;&lt;br&gt;So, I removed the work-around, and the shortened instructions now work.&lt;br&gt;&lt;br&gt;Basically, as I indicated in the blog entry, ordering between handlers matter when it comes to correct functionality. The bug affected ordering; the work-around restored the ordering; the bug fix changed ordering again, invalidating the work-around.&lt;br&gt;&lt;br&gt;//David</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#633254</link><pubDate>Fri, 16 Jun 2006 02:16:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:633254</guid><dc:creator>Ken Ford</dc:creator><description>OK I have PHP installed and working.&lt;br&gt;&lt;br&gt;I have also installed MySQL and have it working.&lt;br&gt;&lt;br&gt;I cannot get the MySQL extension to work in PHP.&lt;br&gt;&lt;br&gt;Any suggestions?</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#633478</link><pubDate>Fri, 16 Jun 2006 03:23:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:633478</guid><dc:creator>David.Wang</dc:creator><description>Ken - you could just use ASP.Net and SQL Express 2005 - it's all free and better development experience.&lt;br&gt;&lt;br&gt;//David</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#633699</link><pubDate>Fri, 16 Jun 2006 07:25:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:633699</guid><dc:creator>Corey</dc:creator><description>Thanks for the help David &amp;amp; Steve.</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#633718</link><pubDate>Fri, 16 Jun 2006 08:06:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:633718</guid><dc:creator>jlrojas</dc:creator><description>i cant install php please help....&lt;br&gt;i install php on c:\php&lt;br&gt;i modify the .bat like these &lt;br&gt;&lt;br&gt;PUSHD %SYSTEMROOT%\System32\inetsrv&lt;br&gt;APPCMD SET CONFIG -section:handlers -+[name='PHP',path='*.php',verb='GET,HEAD,POST',modules='IsapiModule',scriptProcessor='%SYSTEMDRIVE%\PHP\php.exe',resourceType='File']&lt;br&gt;APPCMD SET CONFIG -section:isapiCgiRestriction -+[path='%SYSTEMDRIVE%\PHP\php.exe',allowed='true',groupId='PHP',description='PHP5']&lt;br&gt;POPD&lt;br&gt;&lt;br&gt;after install and confiure the php.ini in c:\php&lt;br&gt;&lt;br&gt;i have the error..&lt;br&gt;&lt;br&gt;Server Error in 'Default Web Site' Application.&lt;br&gt;&lt;br&gt;--------------------------------------------------------------------------------&lt;br&gt;&lt;br&gt;HTTP Error 404.4 - Not Found&lt;br&gt;Description: The resource you are looking for does not have a module or handler associated with it. It cannot be handled and served. &lt;br&gt;&lt;br&gt;Error Code: 0x00000000 &lt;br&gt;&lt;br&gt;Notification: ExecuteRequestHandler &lt;br&gt;&lt;br&gt;Module: IIS Web Core &lt;br&gt;&lt;br&gt;Requested URL: &lt;a rel="nofollow" target="_new" href="http://localhost:80/fist/fistMain.php?site=example_site"&gt;http://localhost:80/fist/fistMain.php?site=example_site&lt;/a&gt; &lt;br&gt;&lt;br&gt;Physical Path: C:\ms4w\apps\fist\htdocs\fistMain.php &lt;br&gt;&lt;br&gt;Logon User: Anonymous &lt;br&gt;&lt;br&gt;Logon Method: Anonymous &lt;br&gt;&lt;br&gt;Handler: PHP &lt;br&gt;&lt;br&gt;Causes: &lt;br&gt;&lt;br&gt;The file extension for the requested URL does not have a module or handler configured to execute the request on the IIS server. &lt;br&gt;Solution: &lt;br&gt;&lt;br&gt;If you determine that the file extension being denied is required by the Web server, add the appropriate handler for the file extension by following these steps:&lt;br&gt;From the IISWeb Management tool, open a connection to the web site. &lt;br&gt;Double click the Handlers Management feature. &lt;br&gt;Click New Server Module Handler in the Tasks pane. &lt;br&gt;Complete the Wizard pages to add the handler information, and then click Finish to add the handler to the list. &lt;br&gt;Go back to the list of management features and double-click the ISAPI and CGI Restrictions Management feature. &lt;br&gt;Click New Restriction in the Tasks pane. &lt;br&gt;Complete information for the new extension, check Allow extension path to execute, and then click OK. &lt;br&gt;&lt;br&gt;Set up a new Failed Request Trace rule for this HTTP status code.&lt;br&gt;Use the IIS Web Management tool to open a connection to the Web server where the problem is occurring.&lt;br&gt;In the tree view, navigate to the Web site, and then click to select it.&lt;br&gt;In the Tasks pane, click Failed Request Tracing.&lt;br&gt;Check Enable Logging for this Site, specify a logging folder or use the default log folder, and then click OK&lt;br&gt;Open the Failed Request Tracing Rules feature and click New Rule in the Tasks pane.&lt;br&gt;Specify the content type to monitor and then click Next.&lt;br&gt;Check the Status Codes checkbox, type 404.3 in the Edit box, and then click Next.&lt;br&gt;In the Providers area, make sure that the WWW Server is checked and highlighted, and that in Provider Properties, the Verbosity level is set to Verbose.&lt;br&gt;Click FinishRequest the page that generated the 404.3 error and then look at the tracing file that was created for the request. This file is located in the logging folder you specified in Step 4. &lt;br&gt;More Information... This error means that the IIS server does not recognize the file extension of the requested resource. A module handler is not configured on the Web server for this extension. If the file extension being denied is required by the Web server, add the appropriate handler for the file extension. &lt;br&gt;&lt;br&gt;Microsoft Knowledge Base Articles: &lt;br&gt;&lt;br&gt;&lt;br&gt;--------------------------------------------------------------------------------&lt;br&gt;Server Version Information: Internet Information Services 7.0.&lt;br&gt;&lt;br&gt;&lt;br&gt;please help me.....&lt;br&gt; i use win vista beta 2&lt;br&gt;</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#633842</link><pubDate>Fri, 16 Jun 2006 11:25:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:633842</guid><dc:creator>David.Wang</dc:creator><description>jlrojas - I suggest reading the custom error page and troubleshooting it yourself. I recommend using the ISAPI version of PHP on IIS.&lt;br&gt;&lt;br&gt;Also, I suggest following published directions and not make unknown modifications. Please understand that I am one person and simply cannot support getting everyone's custom configuration of IIS7 to work with PHP.&lt;br&gt;&lt;br&gt;For example, ISAPI and CGI are different things. You configured the ISAPI Module to execute a CGI EXE binary, so that is incorrect. If you want to configure PHP CGI, there are additional PHP configuration steps to figure out - please consult PHP support on how PHP CGI works.&lt;br&gt;&lt;br&gt;Also, based on the error (404.4), it appears that you modified the available modules to process the request. That is non-default and needs to be stated.&lt;br&gt;&lt;br&gt;In general, if you stray from directions, then you should feel free to support your own modifications - it is beta software, after all.&lt;br&gt;&lt;br&gt;//David</description></item><item><title>Thoughts on Debugging IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#633938</link><pubDate>Fri, 16 Jun 2006 13:49:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:633938</guid><dc:creator>David Wang</dc:creator><description>Hmm... it seems that ever since I made the blog entry about how to install PHP on IIS7, I seem to have...</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#636057</link><pubDate>Sun, 18 Jun 2006 16:27:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:636057</guid><dc:creator>Psycho Dude</dc:creator><description>I have just tried installing PHP along with IIS7 in the Beta 2 version of vista with your batch lines:&lt;br&gt;COPY /Y %SYSTEMDRIVE%\Inetpub\PHP\PHP.INI-Recommended %SYSTEMDRIVE%\Inetpub\PHP\PHP.INI&lt;br&gt;PUSHD %SYSTEMROOT%\System32\inetsrv&lt;br&gt;APPCMD SET CONFIG -section:handlers -+[name='PHP',path='*.php',verb='GET,HEAD,POST',modules='IsapiModule',scriptProcessor='%SYSTEMDRIVE%\Inetpub\PHP\php5isapi.dll',resourceType='File']&lt;br&gt;APPCMD SET CONFIG -section:isapiCgiRestriction -+[path='%SYSTEMDRIVE%\Inetpub\PHP\php5isapi.dll',allowed='true',groupId='PHP',description='PHP5']&lt;br&gt;POPD&lt;br&gt;&lt;br&gt;I extracted the zip file to PHP in the Inetpub folder manually.&lt;br&gt;&lt;br&gt;All the info got nicely placed after running it as an admin and the IIS manager displays it as being there. When trying to acces a php file though I get a 404.4 error similar to jlrojas, just a different requested url and physical path.&lt;br&gt;&lt;br&gt;.htm files work nicely within the same directory so the directory itself is accesible well.&lt;br&gt;&lt;br&gt;Not that used to IIS since I usually run Apache, so I can hope you can help me out :).</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#636799</link><pubDate>Mon, 19 Jun 2006 16:26:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:636799</guid><dc:creator>David.Wang</dc:creator><description>Psycho Dude - Since IIS7 is all componentized - did you install all support to run the ISAPI Extension component, which is required to run PHP ISAPI?&lt;br&gt;&lt;br&gt;//David</description></item><item><title>HOWTO: Install and Run PHP on IIS7, Part 2</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#642356</link><pubDate>Thu, 22 Jun 2006 07:01:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:642356</guid><dc:creator>David Wang</dc:creator><description>A couple of months ago, I wrote a quick and dirty entry on how to install PHP on IIS7. The main purpose...</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#645908</link><pubDate>Sat, 24 Jun 2006 20:49:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:645908</guid><dc:creator>hyponiq</dc:creator><description>Thanks very much for your advice. &amp;nbsp;It worked like a charm. ;) @ David Wang's article.</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#741092</link><pubDate>Tue, 05 Sep 2006 16:35:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:741092</guid><dc:creator>Armando</dc:creator><description>I have a problem:&lt;br&gt;&lt;br&gt;Service Unavailable&lt;br&gt;&lt;br&gt;--------------------------------------------------------------------------------&lt;br&gt;&lt;br&gt;HTTP Error 503. The service is unavailable.&lt;br&gt;&lt;br&gt;what happend?</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#2882201</link><pubDate>Sat, 26 May 2007 01:13:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2882201</guid><dc:creator>Robert Benn</dc:creator><description>&lt;p&gt;I have successfull installed php and Mysql on Vista and I can get phpinfo() to displat from the root directory. - I have set-up phpMyAdmin as a virtual directory on the localhost.&lt;/p&gt;
&lt;p&gt;A basic Html file in phpMyAdmin displays fine as the default page however my &amp;quot;test.php&amp;quot; which runs the phpinfo() gets a 404 error.&lt;/p&gt;
&lt;p&gt;ANy suggestions? &amp;nbsp;Thank you - Robert Benn&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#2900339</link><pubDate>Sat, 26 May 2007 17:28:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2900339</guid><dc:creator>Robert Benn</dc:creator><description>&lt;p&gt;Follow-up to Question:&lt;/p&gt;
&lt;p&gt;By putting phpmyadmin as a subdirectory in the wwwroot, the program phpinfo() and the phpmyadmin application was able to run&lt;/p&gt;
&lt;p&gt;thank you - Robert Benn&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#3005813</link><pubDate>Thu, 31 May 2007 14:18:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3005813</guid><dc:creator>Mark Maleson</dc:creator><description>&lt;p&gt;I followed your procedures to get php 5 installed under vista. Am getting:&lt;/p&gt;
&lt;p&gt;HTTP Error 500.0 - Internal Server Error&lt;/p&gt;
&lt;p&gt;Description: Handler &amp;quot;PHP&amp;quot; has a bad module &amp;quot;IsapiModule&amp;quot; in its module list&lt;/p&gt;
&lt;p&gt;Error Code: 0x8007000d&lt;/p&gt;
&lt;p&gt;Notification: ExecuteRequestHandler&lt;/p&gt;
&lt;p&gt;Module: IIS Web Core&lt;/p&gt;
&lt;p&gt;Requested URL: &lt;a rel="nofollow" target="_new" href="http://localhost:80/enchantment/t.php"&gt;http://localhost:80/enchantment/t.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Physical Path: C:\inetpub\wwwroot\enchantment\t.php&lt;/p&gt;
&lt;p&gt;Logon User: Anonymous&lt;/p&gt;
&lt;p&gt;Logon Method: Anonymous&lt;/p&gt;
&lt;p&gt;Handler: PHP&lt;/p&gt;
&lt;p&gt;Most likely causes:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;* A module is referenced in configuration, but the module has not been installed or the name of the module is misspelled.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;* IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;* IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;* IIS was not able to process configuration for the Web site or application.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;* The authenticated user does not have permission to use this DLL.&lt;/p&gt;
&lt;p&gt;What you can try:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;* Verify that the module is installed. The error description may contain additional information to help you determine which module is causing the error.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;* If the module is installed, verify that the module name is not misspelled in the configuration/system.webServer/handlers config section.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;* Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;* Check the event logs to see if any additional information was logged.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;* Verify the permissions for the DLL.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;* Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.&lt;/p&gt;
&lt;p&gt;I've tried to verify all of the above and can't see the problem.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#3028358</link><pubDate>Fri, 01 Jun 2007 21:12:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3028358</guid><dc:creator>Chris Fontanini</dc:creator><description>&lt;p&gt;I had PHP working on IIS7 under Server 2008 Beta 3 until I installed MySQL....now I get a 503 unavailable error....&lt;/p&gt;
&lt;p&gt;What happened?&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#3391035</link><pubDate>Tue, 19 Jun 2007 00:38:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3391035</guid><dc:creator>Boz</dc:creator><description>&lt;p&gt;Finally got it all to work but it was an incredibly frustrating experience, IIS7 is not going anywhere near my production server.&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#3494212</link><pubDate>Sun, 24 Jun 2007 10:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3494212</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;Boz - if you are already running IIS6 and have no real reason to upgrade, then I suggest you stay with IIS6.&lt;/p&gt;
&lt;p&gt;If you are running IIS5, then you should consider moving to IIS6 or IIS7, depending on needs.&lt;/p&gt;
&lt;p&gt;Personally, I prefer IIS7 over IIS6 because of its flexibility and better troubleshooting experience. However, I understand that for most end-users IIS7 will appear complex and frustrating because it is so flexible and easily misconfigured. &amp;nbsp;On the other hand, IIS7 is perfect for hosters or VARs to customize and resell to end-users...&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#3573561</link><pubDate>Thu, 28 Jun 2007 04:02:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3573561</guid><dc:creator>Upendra watwe</dc:creator><description>&lt;p&gt;Hello David ,&lt;/p&gt;
&lt;p&gt;This page has been very helpful, for me to configure PHP for IIS7, the detailed instructions were very useful now i guess i can dabble around in case i need to setup IIS7 for some other type of pages also. Helped to really understand the config file and how things fit together. The bit about the sequence of handlers was particularly useful.&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;
&lt;p&gt;Upendra watwe&lt;/p&gt;
&lt;p&gt;upendra.watwe@gmail.com &lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#3653036</link><pubDate>Mon, 02 Jul 2007 03:19:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3653036</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;Upendra - You're welcome. I want to illustrate such critical details often missed in IIS documentation as well as the motivating factors behind them... so that people can learn and understand IIS7 instead of merely memorizing configuration steps.&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#3653072</link><pubDate>Mon, 02 Jul 2007 03:21:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3653072</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;Mark - your issue is because ISAPI support is not installed by default on IIS7, so PHP won't run even with the proper configuration. You need to install ISAPI support within IIS7 and then you should move past that issue.&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#3818211</link><pubDate>Wed, 11 Jul 2007 21:52:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3818211</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;I have ISAPI installed in IIS7 and I get the same basic errors as Mark, only with Perl.&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#3822701</link><pubDate>Thu, 12 Jul 2007 04:23:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3822701</guid><dc:creator>Mike Cham</dc:creator><description>&lt;p&gt;I ran into the same problem with the &amp;quot;Handler &amp;quot;PHP&amp;quot; has a bad module &amp;quot;IsapiModule&amp;quot; in its module list&amp;quot;. &amp;nbsp;Something appears to be broken in the inheritance of Modules from the server to the Default Web Site cause the IsapiModule is listed at the server level, but doesn't make it onto the list at the Default Web Site level. &amp;nbsp;If you delete the Default Web Site and then add it back, bingo the IsapiModule is now in the list at the web site level and like magic php starts working. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Big thanks to Ryan Dunn in this post&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://dunnry.com/blog/IIS7And4043Error.aspx"&gt;http://dunnry.com/blog/IIS7And4043Error.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#3889944</link><pubDate>Mon, 16 Jul 2007 07:45:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3889944</guid><dc:creator>Lesley</dc:creator><description>&lt;p&gt;I also got the 404 error and found it was caused by double quotes around directories in the php.ini file - once you get rid of these, all works.&lt;/p&gt;
&lt;p&gt;I then found http post request did not work - correct page displayed but blank. &amp;nbsp;I solved this by changing the verbs in the php handler mapping IIS7 from GET, HEAD, POST to the All verbs option -hope this helps someone.&lt;/p&gt;
&lt;p&gt;Lesley&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#3889999</link><pubDate>Mon, 16 Jul 2007 07:47:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3889999</guid><dc:creator>Phil</dc:creator><description>&lt;p&gt;I'm on Vista 64-bit. &amp;nbsp;Did a php-5.2.3-win32-installer.msi install and tried installing manually too, and didn't work. &amp;nbsp;Followed all of the above steps including enabling 32-bit apps. &amp;nbsp;Didn't work and still get the HTTP Error 404.3 - Not Found error. &amp;nbsp;Any ideas on what to do? &amp;nbsp;I am a 'user' and installed. &amp;nbsp;Didn't want to disable user accounts and do just 'admin' all the time. &amp;nbsp;Could this have something to do with it? &amp;nbsp;Any other ideas? &amp;nbsp;I'm at a loss. &amp;nbsp;Thanks in advance.&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#3988478</link><pubDate>Sat, 21 Jul 2007 14:20:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3988478</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;Phil - 404.3 has nothing to do with user vs admin or anything else. It just means that you are trying to download a resource that does not have a MIME Type, so the IIS Static File Handler is denying access.&lt;/p&gt;
&lt;p&gt;If you are trying to request .php files, then the problem is that PHP is just not installed and setup properly. Specifically, the .php handler definition is missing.&lt;/p&gt;
&lt;p&gt;By default, IIS7 only supports static files and does not support running dynamic script like PHP (or ASP, ASP.Net for that matter). You need to ensure that you install IIS7 with the necessary support for ISAPI Extension and/or CGI (depending on which PHP version you want to use).&lt;/p&gt;
&lt;p&gt;Then, you need to make sure to configure a handler for .php with the necessary configuration and enable the ISAPI/CGI -- that is what the batch script in this blog entry does.&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#4036903</link><pubDate>Wed, 25 Jul 2007 04:57:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4036903</guid><dc:creator>HoanLe</dc:creator><description>&lt;p&gt;Hi! I am also new to PHP. I do a lot of stuffs to find out how to run PHP on IIS7. This is the only way that works. &lt;/p&gt;
&lt;p&gt;I also used the PHP installer. I follow the steps above (I prefered to use ISAPI - not CGI and pointed installation path to %SYSTEMDRIVER%\wwwroot\PHP). The only differents were I only copied those lines:&lt;/p&gt;
&lt;p&gt;&amp;quot;PUSHD %SYSTEMROOT%\System32\inetsrv&lt;/p&gt;
&lt;p&gt;APPCMD SET CONFIG -section:handlers -+[name='PHP',path='*.php',verb='GET,HEAD,POST',modules='IsapiModule',scriptProcessor='%SYSTEMDRIVE%\Inetpub\PHP\php5isapi.dll',resourceType='File']&lt;/p&gt;
&lt;p&gt;APPCMD SET CONFIG -section:isapiCgiRestriction -+[path='%SYSTEMDRIVE%\Inetpub\PHP\php5isapi.dll',allowed='true',groupId='PHP',description='PHP5']&lt;/p&gt;
&lt;p&gt;POPD&amp;quot;&lt;/p&gt;
&lt;p&gt;and saved as a .bat file. Please do not forget to remove previous Handler Mappings to php5isapi if it existed. &lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#4188400</link><pubDate>Thu, 02 Aug 2007 16:56:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4188400</guid><dc:creator>easy</dc:creator><description>&lt;p&gt;The 404.3 error only appears if the handler map is not responding, this error occurs when the MIME type does not work, please set it to application/x-httpd-php. This works, but sometimes this shows it as text, most businesses use PHP and ASP.NET on one server, but usually Apache, IIS7 is mainly static and is used to morphing ASP.NET to hypertext only. If you have this error, it may appear blank, the 404.3 request before would of been like this:&lt;/p&gt;
&lt;p&gt;Yes, it is PHP Advertiser.&lt;/p&gt;
&lt;p&gt;Server Error in Application &amp;quot;Default Web Site/Advertiser/Main&amp;quot;&lt;/p&gt;
&lt;p&gt;--------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;HTTP Error 404.3 - Not Found&lt;/p&gt;
&lt;p&gt;Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed. &lt;/p&gt;
&lt;p&gt;Error Code: 0x80070032 &lt;/p&gt;
&lt;p&gt;Notification: ExecuteRequestHandler &lt;/p&gt;
&lt;p&gt;Module: StaticFileModule &lt;/p&gt;
&lt;p&gt;Requested URL: &lt;a rel="nofollow" target="_new" href="http://localhost:80/Advertiser/Main/index.php"&gt;http://localhost:80/Advertiser/Main/index.php&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Physical Path: C:\inetpub\wwwroot\Advertiser\Main\index.php &lt;/p&gt;
&lt;p&gt;Logon User: Anonymous &lt;/p&gt;
&lt;p&gt;Logon Method: Anonymous &lt;/p&gt;
&lt;p&gt;Handler: StaticFile &lt;/p&gt;
&lt;p&gt;Most likely causes: &lt;/p&gt;
&lt;p&gt;It is possible that a handler mapping is missing. By default, the static file handler processes all content. &lt;/p&gt;
&lt;p&gt;The feature you are trying to use may not be installed. &lt;/p&gt;
&lt;p&gt;The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.) &lt;/p&gt;
&lt;p&gt;What you can try: &lt;/p&gt;
&lt;p&gt;In system.webServer/handlers: &lt;/p&gt;
&lt;p&gt;Ensure that the expected handler for the current page is mapped. &lt;/p&gt;
&lt;p&gt;Pay careful attention to preconditions (e.g. runtimeVersion, pipelineMode, bitness) and compare them to the settings for your application pool. &lt;/p&gt;
&lt;p&gt;Pay careful attention to typographical errors in the expected handler line. &lt;/p&gt;
&lt;p&gt;Please verify that the feature you are trying to use is installed. &lt;/p&gt;
&lt;p&gt;Verify that the MIME map is enabled or add the MIME map for the Web site using the command-line tool appcmd.exe. &lt;/p&gt;
&lt;p&gt;Open a command prompt and change directory to %windir%\system32\inetsrv. &lt;/p&gt;
&lt;p&gt;To set a MIME type, use the following syntax: appcmd set config /section:staticContent /+[fileExtension='string',mimeType='string'] &lt;/p&gt;
&lt;p&gt;The variable fileExtension string is the file name extension and the variable mimeType string is the file type description. &lt;/p&gt;
&lt;p&gt;For example, to add a MIME map for a file which has the extension &amp;quot;.xyz&amp;quot;, type the following at the command prompt, and then press Enter: &lt;/p&gt;
&lt;p&gt;appcmd set config /section:staticContent /+[fileExtension='.xyz',mimeType='text/plain'] &lt;/p&gt;
&lt;p&gt;Warning: Ensure that this MIME mapping is needed for your Web server before adding it to the list. Configuration files such as .CONFIG or dynamic scripting pages such as .ASP or .ASPX, should not be downloaded directly and should always be processed through a handler. Other files such as database files or those used to store configuration, like .XML or .MDF, are sometimes used to store configuration information. Determine if clients can download these file types before enabling them. &lt;/p&gt;
&lt;p&gt;Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here. &lt;/p&gt;
&lt;p&gt;More Information... This error occurs when the file extension of the requested URL is for a MIME type that is not configured on the server. You can add a MIME type for the file extension for files that are not dynamic scripting pages, database, or configuration files. Process those file types using a handler. You should not allows direct downloads of dynamic scripting pages, database or configuration files. &lt;/p&gt;
&lt;p&gt;--------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;Server Version Information: Internet Information Services 7.0&lt;/p&gt;
&lt;p&gt;You need the MIME type, use CGI instead.&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#4500055</link><pubDate>Wed, 22 Aug 2007 01:38:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4500055</guid><dc:creator>NoviceInstall</dc:creator><description>&lt;p&gt;Thanks for this post. &lt;/p&gt;
&lt;p&gt;I followed the instruction, but I still have the same problem as above. I even downloaded the PHPx64 Version from &lt;a rel="nofollow" target="_new" href="http://www.fusionxlan.com/PHPx64.php"&gt;http://www.fusionxlan.com/PHPx64.php&lt;/a&gt; following the great and nice instruction of Blond R at &lt;a rel="nofollow" target="_new" href="http://blondr.blogspot.com/2006/11/set-up-iis-7-w-mysql-and-php-5.html"&gt;http://blondr.blogspot.com/2006/11/set-up-iis-7-w-mysql-and-php-5.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But i'm still lost.&lt;/p&gt;
&lt;p&gt;Could you please advice ? I really don't know what to do ;-(&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;HTTP Error 404.3 - Not Found&lt;/p&gt;
&lt;p&gt;Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed. &lt;/p&gt;
&lt;p&gt;Error Code: 0x80070032 &lt;/p&gt;
&lt;p&gt;Notification: ExecuteRequestHandler &lt;/p&gt;
&lt;p&gt;Module: StaticFileModule &lt;/p&gt;
&lt;p&gt;Requested URL: &lt;a rel="nofollow" target="_new" href="http://localhost:80/test.php"&gt;http://localhost:80/test.php&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Physical Path: C:\inetpub\wwwroot\test.php &lt;/p&gt;
&lt;p&gt;---------------------------------------------------------------------------------------&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#4500068</link><pubDate>Wed, 22 Aug 2007 01:40:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4500068</guid><dc:creator>NoviceInstall</dc:creator><description>&lt;p&gt;It's me again. By the way, I don't understand why should I create an C:\inetpub\PHP instead of C:\PHP ?&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#4530175</link><pubDate>Thu, 23 Aug 2007 22:16:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4530175</guid><dc:creator>Rick</dc:creator><description>&lt;p&gt;After running the script, I get the HTTP Error 500.0 error - Handler &amp;quot;PHP&amp;quot; has a bad module &amp;quot;IsapiModule&amp;quot; in its module list. &amp;nbsp;Could someone please give me detailed instructions for fixing this?&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#4548182</link><pubDate>Fri, 24 Aug 2007 23:57:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4548182</guid><dc:creator>Rick</dc:creator><description>&lt;p&gt;I figured out my problem with the 500.0 error. &amp;nbsp;Apparently IIS7 defaults to none of the ISAPI or CGI scripting features. &amp;nbsp;You have to turn on these features. &amp;nbsp;Go to Control Panel-&amp;gt;Programs and Features. &amp;nbsp;Click on &amp;quot;Turn Windows features on or off&amp;quot;. &amp;nbsp;Under Internet Information Services-&amp;gt;World Wide Web Services-&amp;gt;Application Development Features, check the needed boxes. &amp;nbsp;I just checked them all. &amp;nbsp;This fixed my problem.&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#4746754</link><pubDate>Tue, 04 Sep 2007 21:23:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4746754</guid><dc:creator>Shane</dc:creator><description>&lt;p&gt;I created a batch file that did the following (using my own directories)&lt;/p&gt;
&lt;p&gt;PUSHD C:\Windows\System32\inetsrv&lt;/p&gt;
&lt;p&gt;APPCMD SET CONFIG -section:handlers --[name='StaticFile',path='*',verb='*']&lt;/p&gt;
&lt;p&gt;APPCMD SET CONFIG -section:handlers -+&lt;/p&gt;
&lt;p&gt;[name='PHP',path='*.php',verb='GET,HEAD,POST',modules='IsapiModule',scriptProcessor='C:\www\PHP\php5isapi.dll',resourceType='File'] &lt;/p&gt;
&lt;p&gt;APPCMD SET CONFIG -section:handlers -+&lt;/p&gt;
&lt;p&gt;[name='StaticFile',path='*',verb='*',modules='StaticFileModule,DefaultDocumentModule,DirectoryListingModule',resourceType='Either',requ&lt;/p&gt;
&lt;p&gt;ireAccess='Read']&lt;/p&gt;
&lt;p&gt;APPCMD SET CONFIG -section:isapiCgiRestriction -+[path='C:\www\PHP\php5isapi.dll',allowed='true',groupId='PHP',description='PHP5']&lt;/p&gt;
&lt;p&gt;POPD &lt;/p&gt;
&lt;p&gt;I get the following error after the last bit of code runs (the isapiCgiRestriction):&lt;/p&gt;
&lt;p&gt;ERROR ( message:New add object missing required attributes. &amp;nbsp;Cannot add duplicate collection entry.) &lt;/p&gt;
&lt;p&gt;What gives?&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#4746910</link><pubDate>Tue, 04 Sep 2007 21:34:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4746910</guid><dc:creator>Shane</dc:creator><description>&lt;p&gt;I guess I should also note I'm still getting the handler exception error. &amp;nbsp; 404.3&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#4995806</link><pubDate>Wed, 19 Sep 2007 13:40:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4995806</guid><dc:creator>Wild Thing</dc:creator><description>&lt;p&gt;Interesting. &lt;/p&gt;
&lt;p&gt;I wanted to install PHP on my IIS 7, because I was already using IIS7 for ASP.&lt;/p&gt;
&lt;p&gt;But looking on the 'net for the 404.3 error resolution, I realize that tons of others are facing the same problem, and it's a pain in the a$$ to fix. &lt;/p&gt;
&lt;p&gt;IIS7 sucks. I'll just configure Apache instead.&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#5110544</link><pubDate>Tue, 25 Sep 2007 05:05:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5110544</guid><dc:creator>kmiles</dc:creator><description>&lt;p&gt;I've configured everything as above, but when I go to a test.php page, it just says &amp;quot;loading&amp;quot; and never does anything. Any ideas?&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#5192342</link><pubDate>Fri, 28 Sep 2007 23:43:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5192342</guid><dc:creator>ApacheRulesForeverOK</dc:creator><description>&lt;p&gt;The solution to the 404.3 issue can be found at:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blog.ilikeu2.nl/2007/01/12/iis7-http-error-4043-not-found-for-php-cfm-etc/"&gt;http://blog.ilikeu2.nl/2007/01/12/iis7-http-error-4043-not-found-for-php-cfm-etc/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It contains information not addressed by the posts above - The 404.3 has to do with the application pool setting to &amp;quot;Enable 32-bit applications&amp;quot; (I'm running 64-bit)&lt;/p&gt;
&lt;p&gt;This solved the 404.3 issue in my case.&lt;/p&gt;
&lt;p&gt;Hope it helps - almost all googling points to this page and it did not really help!&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#5400847</link><pubDate>Thu, 11 Oct 2007 15:22:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5400847</guid><dc:creator>Bosslb</dc:creator><description>&lt;p&gt;Hello, just forget all about iis7, I had a headache for many days trying to run PHP on vista, then I got the real solution, which is, uninstall IIS, and go download &amp;nbsp;wamp5 from &lt;a rel="nofollow" target="_new" href="http://www.wampserver.com/"&gt;http://www.wampserver.com/&lt;/a&gt; and install it, and Finito, php will run as smooth as never before!&lt;/p&gt;
&lt;p&gt;have fun all :-)&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#5461840</link><pubDate>Mon, 15 Oct 2007 17:05:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5461840</guid><dc:creator>staylor</dc:creator><description>&lt;p&gt;I recieved the error 'HTTP Error 500.0 - Internal Server Error' when trying to install PHP w/ the guidance of this article. OS is Windows Server 2008 Beta 3&lt;/p&gt;
&lt;p&gt;Enabling 32-bit applications in Advanced Settings on the application pool resolved this issue.&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#6361000</link><pubDate>Sun, 18 Nov 2007 13:50:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6361000</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;Everyone - note the date when this blog entry was written -- in early 2006, before IIS7 was released.&lt;/p&gt;
&lt;p&gt;Do I think it is dated? Of course. Do I plan to do anything about it? Not really. Back in 2006, I needed to fill the gap between IIS7 release and other people taking up the mantle, and that's what this blog entry served.&lt;/p&gt;
&lt;p&gt;IIS7 is now released, so I really want PHP users to go elsewhere for their PHP support.&lt;/p&gt;
&lt;p&gt;However, having surveyed some of those places, including php.net, I have to say that PHP users who have made posts don't know a lot about IIS, don't seem to know how to find information about IIS, and there are lots of silly folklore out there. I don't want to post to dispel some of those rumors because I'll probably just be tarred and feathered for being a Windows and IIS advocate on a PHP forum. :-) Hopefully, some of you can do this for me...&lt;/p&gt;
&lt;p&gt;The REASON why the 404.3 results from installing PHP is this: If IIS fails to find a handler for a request, it will eventually be handled by the StaticFileHandler since it's usually the last configured handler, and becausue it does not have a MIME Type entry for .php, you will get a 404.3 if a PHP request gets handled by it.&lt;/p&gt;
&lt;p&gt;Thus, the real question is why the PHP handler this script added was NOT recognized prior to the StaticFileHandler, and why changing bitness to 32bit fixes it. Well, if the PHP handler had a bitness32 preCondition, which is supposed to match the bitness of the PHP ISAPI DLL, and you run it on a 64bit IIS7 machine, the handler will not be recognized by IIS *UNLESS* the Application Pool is running in 32bit mode.&lt;/p&gt;
&lt;p&gt;Since you are installing a 32bit DLL on 64bit OS, it follows that you need to configure IIS7 to load it as 32bit. &lt;/p&gt;
&lt;p&gt;Apache skirts this bitness issue because its extensibility is at the process level, and since 32bit and 64bit processes can invoke each other, there is no requirement to match bitness. However, this approach is inefficient on Windows. IIS uses in-process extensibility with ISAPI DLLs and IIS Modules, so bitness matching is a requirement, but it also brings performance benefits.&lt;/p&gt;
&lt;p&gt;As usual, with power comes responsibility.&lt;/p&gt;
&lt;p&gt;In the end, this is just another instance of mismatching bitness. On IIS6, this misconfiguration would have resulted in a 503 Service Unavailable, a mess which I described in other blog entries. On IIS7, depending on preCondition values, one can get a variety of results, but at least it is possible to avoid bitness crashes on IIS7.&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#6591533</link><pubDate>Thu, 29 Nov 2007 07:19:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6591533</guid><dc:creator>Ogra</dc:creator><description>&lt;p&gt;Here is a very simple procedure worked for me -&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://hajuria.blogspot.com/2007/11/installing-iis7-php5-25-on-windows.html"&gt;http://hajuria.blogspot.com/2007/11/installing-iis7-php5-25-on-windows.html&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#7184214</link><pubDate>Mon, 21 Jan 2008 16:51:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7184214</guid><dc:creator>Kris</dc:creator><description>&lt;p&gt;Your script worked flawlessly, Thank You!&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#8406893</link><pubDate>Fri, 18 Apr 2008 10:57:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8406893</guid><dc:creator>WhiteTimer</dc:creator><description>&lt;p&gt;I have just reinstalled IIS7 with CGI &amp;amp; PHP 5.2.5. &amp;nbsp;I have followed the tutorial &amp;quot;using-fastcgi-to-host-php-applications-on-iis7&amp;quot; . &amp;nbsp;Then i did C:\php&amp;gt;php -info which ran, but as i scroll through the output i notice that there is no reference to Document Root.&lt;/p&gt;
&lt;p&gt;json&lt;/p&gt;
&lt;p&gt;json support =&amp;gt; enabled&lt;/p&gt;
&lt;p&gt;json version =&amp;gt; 1.2.1&lt;/p&gt;
&lt;p&gt;libxml&lt;/p&gt;
&lt;p&gt;libXML support =&amp;gt; active&lt;/p&gt;
&lt;p&gt;libXML Version =&amp;gt; 2.6.26&lt;/p&gt;
&lt;p&gt;libXML streams =&amp;gt; enabled&lt;/p&gt;
&lt;p&gt;odbc&lt;/p&gt;
&lt;p&gt;ODBC Support =&amp;gt; enabled&lt;/p&gt;
&lt;p&gt;Active Persistent Links =&amp;gt; 0&lt;/p&gt;
&lt;p&gt;Active Links =&amp;gt; 0&lt;/p&gt;
&lt;p&gt;ODBC library =&amp;gt; Win32&lt;/p&gt;
&lt;p&gt;Directive =&amp;gt; Local Value =&amp;gt; Master Value&lt;/p&gt;
&lt;p&gt;odbc.allow_persistent =&amp;gt; On =&amp;gt; On&lt;/p&gt;
&lt;p&gt;odbc.check_persistent =&amp;gt; On =&amp;gt; On&lt;/p&gt;
&lt;p&gt;odbc.default_db =&amp;gt; no value =&amp;gt; no value&lt;/p&gt;
&lt;p&gt;odbc.default_pw =&amp;gt; no value =&amp;gt; no value&lt;/p&gt;
&lt;p&gt;odbc.default_user =&amp;gt; no value =&amp;gt; no value&lt;/p&gt;
&lt;p&gt;odbc.defaultbinmode =&amp;gt; return as is =&amp;gt; return as is&lt;/p&gt;
&lt;p&gt;odbc.defaultlrl =&amp;gt; return up to 4096 bytes =&amp;gt; return up to 4096 bytes&lt;/p&gt;
&lt;p&gt;odbc.max_links =&amp;gt; Unlimited =&amp;gt; Unlimited&lt;/p&gt;
&lt;p&gt;odbc.max_persistent =&amp;gt; Unlimited =&amp;gt; Unlimited&lt;/p&gt;
&lt;p&gt;pcre&lt;/p&gt;
&lt;p&gt;PCRE (Perl Compatible Regular BLOCKED EXPRESSION Support =&amp;gt; enabled&lt;/p&gt;
&lt;p&gt;PCRE Library Version =&amp;gt; 7.3 2007-08-28&lt;/p&gt;
&lt;p&gt;Directive =&amp;gt; Local Value =&amp;gt; Master Value&lt;/p&gt;
&lt;p&gt;pcre.backtrack_limit =&amp;gt; 100000 =&amp;gt; 100000&lt;/p&gt;
&lt;p&gt;pcre.recursion_limit =&amp;gt; 100000 =&amp;gt; 100000&lt;/p&gt;
&lt;p&gt;Reflection&lt;/p&gt;
&lt;p&gt;Reflection =&amp;gt; enabled&lt;/p&gt;
&lt;p&gt;Version =&amp;gt; $Id: php_reflection.c,v 1.164.2.33.2.47 2007/10/28 13:47:14 iliaa Exp&lt;/p&gt;
&lt;p&gt; $&lt;/p&gt;
&lt;p&gt;session&lt;/p&gt;
&lt;p&gt;Session Support =&amp;gt; enabled&lt;/p&gt;
&lt;p&gt;Registered save handlers =&amp;gt; files user&lt;/p&gt;
&lt;p&gt;Registered serializer handlers =&amp;gt; php php_binary wddx&lt;/p&gt;
&lt;p&gt;Directive =&amp;gt; Local Value =&amp;gt; Master Value&lt;/p&gt;
&lt;p&gt;session.auto_start =&amp;gt; Off =&amp;gt; Off&lt;/p&gt;
&lt;p&gt;session.bug_compat_42 =&amp;gt; On =&amp;gt; On&lt;/p&gt;
&lt;p&gt;session.bug_compat_warn =&amp;gt; On =&amp;gt; On&lt;/p&gt;
&lt;p&gt;session.cache_expire =&amp;gt; 180 =&amp;gt; 180&lt;/p&gt;
&lt;p&gt;session.cache_limiter =&amp;gt; nocache =&amp;gt; nocache&lt;/p&gt;
&lt;p&gt;session.cookie_domain =&amp;gt; no value =&amp;gt; no value&lt;/p&gt;
&lt;p&gt;session.cookie_httponly =&amp;gt; Off =&amp;gt; Off&lt;/p&gt;
&lt;p&gt;session.cookie_lifetime =&amp;gt; 0 =&amp;gt; 0&lt;/p&gt;
&lt;p&gt;session.cookie_path =&amp;gt; / =&amp;gt; /&lt;/p&gt;
&lt;p&gt;session.cookie_secure =&amp;gt; Off =&amp;gt; Off&lt;/p&gt;
&lt;p&gt;session.entropy_file =&amp;gt; no value =&amp;gt; no value&lt;/p&gt;
&lt;p&gt;session.entropy_length =&amp;gt; 0 =&amp;gt; 0&lt;/p&gt;
&lt;p&gt;session.gc_divisor =&amp;gt; 100 =&amp;gt; 100&lt;/p&gt;
&lt;p&gt;session.gc_maxlifetime =&amp;gt; 1440 =&amp;gt; 1440&lt;/p&gt;
&lt;p&gt;session.gc_probability =&amp;gt; 1 =&amp;gt; 1&lt;/p&gt;
&lt;p&gt;session.hash_bits_per_character =&amp;gt; 4 =&amp;gt; 4&lt;/p&gt;
&lt;p&gt;session.hash_function =&amp;gt; 0 =&amp;gt; 0&lt;/p&gt;
&lt;p&gt;session.name =&amp;gt; PHPSESSID =&amp;gt; PHPSESSID&lt;/p&gt;
&lt;p&gt;session.referer_check =&amp;gt; no value =&amp;gt; no value&lt;/p&gt;
&lt;p&gt;session.save_handler =&amp;gt; files =&amp;gt; files&lt;/p&gt;
&lt;p&gt;session.save_path =&amp;gt; no value =&amp;gt; no value&lt;/p&gt;
&lt;p&gt;session.serialize_handler =&amp;gt; php =&amp;gt; php&lt;/p&gt;
&lt;p&gt;session.use_cookies =&amp;gt; On =&amp;gt; On&lt;/p&gt;
&lt;p&gt;session.use_only_cookies =&amp;gt; Off =&amp;gt; Off&lt;/p&gt;
&lt;p&gt;session.use_trans_sid =&amp;gt; 0 =&amp;gt; 0&lt;/p&gt;
&lt;p&gt;PHP Variables&lt;/p&gt;
&lt;p&gt;Variable =&amp;gt; Value&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;ALLUSERSPROFILE&amp;quot;] =&amp;gt; C:\ProgramData&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;APPDATA&amp;quot;] =&amp;gt; C:\Users\Julian C Corbett\AppData\Roaming&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;CLASSPATH&amp;quot;] =&amp;gt; .;C:\Java\jre1.6.0\lib\ext\QTJava.zip&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;CommonProgramFiles&amp;quot;] =&amp;gt; C:\Program Files\Common Files&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;COMPUTERNAME&amp;quot;] =&amp;gt; CORBETT-DT&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;ComSpec&amp;quot;] =&amp;gt; C:\Windows\system32\cmd.exe&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;FP_NO_HOST_CHECK&amp;quot;] =&amp;gt; NO&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;HOMEDRIVE&amp;quot;] =&amp;gt; C:&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;HOMEPATH&amp;quot;] =&amp;gt; \Users\Julian C Corbett&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;JAVA_HOME&amp;quot;] =&amp;gt; C:\Java\jdk1.6.0&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;LOCALAPPDATA&amp;quot;] =&amp;gt; C:\Users\Julian C Corbett\AppData\Local&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;LOGONSERVER&amp;quot;] =&amp;gt; \\CORBETT-DT&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;NUMBER_OF_PROCESSORS&amp;quot;] =&amp;gt; 2&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;OS&amp;quot;] =&amp;gt; Windows_NT&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;Path&amp;quot;] =&amp;gt; C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Pr&lt;/p&gt;
&lt;p&gt;ogram Files\ATI Technologies\ATI.ACE\Core-Static;C:\php;C:\Program Files\QuickTi&lt;/p&gt;
&lt;p&gt;me\QTSystem\&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;PATHEXT&amp;quot;] =&amp;gt; .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;PROCESSOR_ARCHITECTURE&amp;quot;] =&amp;gt; x86&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;PROCESSOR_IDENTIFIER&amp;quot;] =&amp;gt; x86 Family 15 Model 4 Stepping 1, GenuineInte&lt;/p&gt;
&lt;p&gt;l&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;PROCESSOR_LEVEL&amp;quot;] =&amp;gt; 15&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;PROCESSOR_REVISION&amp;quot;] =&amp;gt; 0401&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;ProgramData&amp;quot;] =&amp;gt; C:\ProgramData&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;ProgramFiles&amp;quot;] =&amp;gt; C:\Program Files&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;PROMPT&amp;quot;] =&amp;gt; $P$G&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;PUBLIC&amp;quot;] =&amp;gt; C:\Users\Public&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;QTJAVA&amp;quot;] =&amp;gt; C:\Java\jre1.6.0\lib\ext\QTJava.zip&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;SESSIONNAME&amp;quot;] =&amp;gt; Console&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;SystemDrive&amp;quot;] =&amp;gt; C:&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;SystemRoot&amp;quot;] =&amp;gt; C:\Windows&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;TEMP&amp;quot;] =&amp;gt; C:\Users\JULIAN~1\AppData\Local\Temp&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;TMP&amp;quot;] =&amp;gt; C:\Users\JULIAN~1\AppData\Local\Temp&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;USERDOMAIN&amp;quot;] =&amp;gt; CORBETT-DT&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;USERNAME&amp;quot;] =&amp;gt; Julian C Corbett&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;USERPROFILE&amp;quot;] =&amp;gt; C:\Users\Julian C Corbett&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;windir&amp;quot;] =&amp;gt; C:\Windows&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;PHP_SELF&amp;quot;] =&amp;gt;&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;SCRIPT_NAME&amp;quot;] =&amp;gt;&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;SCRIPT_FILENAME&amp;quot;] =&amp;gt;&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;PATH_TRANSLATED&amp;quot;] =&amp;gt;&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;DOCUMENT_ROOT&amp;quot;] =&amp;gt;&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;REQUEST_TIME&amp;quot;] =&amp;gt; 1208469854&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;argv&amp;quot;] =&amp;gt; Array&lt;/p&gt;
&lt;p&gt;(&lt;/p&gt;
&lt;p&gt;)&lt;/p&gt;
&lt;p&gt;_SERVER[&amp;quot;argc&amp;quot;] =&amp;gt; 0&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;ALLUSERSPROFILE&amp;quot;] =&amp;gt; C:\ProgramData&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;APPDATA&amp;quot;] =&amp;gt; C:\Users\Julian C Corbett\AppData\Roaming&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;CLASSPATH&amp;quot;] =&amp;gt; .;C:\Java\jre1.6.0\lib\ext\QTJava.zip&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;CommonProgramFiles&amp;quot;] =&amp;gt; C:\Program Files\Common Files&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;COMPUTERNAME&amp;quot;] =&amp;gt; CORBETT-DT&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;ComSpec&amp;quot;] =&amp;gt; C:\Windows\system32\cmd.exe&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;FP_NO_HOST_CHECK&amp;quot;] =&amp;gt; NO&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;HOMEDRIVE&amp;quot;] =&amp;gt; C:&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;HOMEPATH&amp;quot;] =&amp;gt; \Users\Julian C Corbett&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;JAVA_HOME&amp;quot;] =&amp;gt; C:\Java\jdk1.6.0&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;LOCALAPPDATA&amp;quot;] =&amp;gt; C:\Users\Julian C Corbett\AppData\Local&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;LOGONSERVER&amp;quot;] =&amp;gt; \\CORBETT-DT&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;NUMBER_OF_PROCESSORS&amp;quot;] =&amp;gt; 2&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;OS&amp;quot;] =&amp;gt; Windows_NT&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;Path&amp;quot;] =&amp;gt; C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Progr&lt;/p&gt;
&lt;p&gt;am Files\ATI Technologies\ATI.ACE\Core-Static;C:\php;C:\Program Files\QuickTime\&lt;/p&gt;
&lt;p&gt;QTSystem\&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;PATHEXT&amp;quot;] =&amp;gt; .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;PROCESSOR_ARCHITECTURE&amp;quot;] =&amp;gt; x86&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;PROCESSOR_IDENTIFIER&amp;quot;] =&amp;gt; x86 Family 15 Model 4 Stepping 1, GenuineIntel&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;PROCESSOR_LEVEL&amp;quot;] =&amp;gt; 15&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;PROCESSOR_REVISION&amp;quot;] =&amp;gt; 0401&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;ProgramData&amp;quot;] =&amp;gt; C:\ProgramData&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;ProgramFiles&amp;quot;] =&amp;gt; C:\Program Files&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;PROMPT&amp;quot;] =&amp;gt; $P$G&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;PUBLIC&amp;quot;] =&amp;gt; C:\Users\Public&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;QTJAVA&amp;quot;] =&amp;gt; C:\Java\jre1.6.0\lib\ext\QTJava.zip&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;SESSIONNAME&amp;quot;] =&amp;gt; Console&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;SystemDrive&amp;quot;] =&amp;gt; C:&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;SystemRoot&amp;quot;] =&amp;gt; C:\Windows&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;TEMP&amp;quot;] =&amp;gt; C:\Users\JULIAN~1\AppData\Local\Temp&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;TMP&amp;quot;] =&amp;gt; C:\Users\JULIAN~1\AppData\Local\Temp&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;USERDOMAIN&amp;quot;] =&amp;gt; CORBETT-DT&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;USERNAME&amp;quot;] =&amp;gt; Julian C Corbett&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;USERPROFILE&amp;quot;] =&amp;gt; C:\Users\Julian C Corbett&lt;/p&gt;
&lt;p&gt;_ENV[&amp;quot;windir&amp;quot;] =&amp;gt; C:\Windows&lt;/p&gt;
&lt;p&gt;PHP License&lt;/p&gt;
&lt;p&gt;This program is free software; you can redistribute it and/or modify&lt;/p&gt;
&lt;p&gt;it under the terms of the PHP License as published by the PHP Group&lt;/p&gt;
&lt;p&gt;and included in the distribution in the file: &amp;nbsp;LICENSE&lt;/p&gt;
&lt;p&gt;This program is distributed in the hope that it will be useful,&lt;/p&gt;
&lt;p&gt;but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;/p&gt;
&lt;p&gt;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&lt;/p&gt;
&lt;p&gt;If you did not receive a copy of the PHP license, or have any&lt;/p&gt;
&lt;p&gt;questions about PHP licensing, please contact license@php.net.&lt;/p&gt;
&lt;p&gt;c:\php&amp;gt;&lt;/p&gt;
&lt;p&gt; Why is that ? And how do i rectify that ?&lt;/p&gt;
&lt;p&gt;Many thanks&lt;/p&gt;
&lt;p&gt;WhiteTimer&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#8409673</link><pubDate>Sat, 19 Apr 2008 06:36:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8409673</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;WhiteTimer - What you see is by-design.&lt;/p&gt;
&lt;p&gt;Those values depend on having a URL-to-PhysicalPath mapping, which is present when the web server launches PHP.EXE.&lt;/p&gt;
&lt;p&gt;You did not set those corresponding values when you launched PHP.EXE from the command shell, so those values are missing as expected.&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#8570857</link><pubDate>Tue, 03 Jun 2008 06:39:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8570857</guid><dc:creator>Sonny0</dc:creator><description>&lt;p&gt;have followed, even use the appcmd, lots of failures and will not see php at all. i am trying to get cerbreus and sugarcrm working&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#8572975</link><pubDate>Wed, 04 Jun 2008 11:22:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8572975</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;Sonny0 - Unfortunately, I cannot troubleshoot your failed PHP installations, nor will my script &amp;quot;fix&amp;quot; whatever misconfiguration to make PHP work on IIS7.&lt;/p&gt;
&lt;p&gt;If you can ask a specific question, I can try to make forward progress.&lt;/p&gt;
&lt;p&gt;Otherwise, I can only suggest to format and reinstall Vista. Install IIS7 Clean with CGI and ISAPI support (depends on what you want to use). Follow my instructions. It works - many people have had success.&lt;/p&gt;
&lt;p&gt;For troubleshooting assistance, you need to contact the PHP support groups.&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#8660860</link><pubDate>Fri, 27 Jun 2008 11:50:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8660860</guid><dc:creator>Craig</dc:creator><description>&lt;p&gt;I've just installed ver 5.2.5 (x64) on my Vista x64 set-up with IIS7. PHP appears to be working fine. php.ini found, etc, and phpinfo() plus other basic commands like echo() work just fine, and pages are happily generated.&lt;/p&gt;
&lt;p&gt;However when I try to access my old website(s), I run into IIS7 error pages. There are several scenarios:&lt;/p&gt;
&lt;p&gt;[*] Virtual directory - HTTP Error 500.19 - Internal Server Error. It goes on about &amp;quot;Cannot read configuration file due to insufficient permissions&amp;quot;, referencing web.config in the site root (which is strange, because this is all PHP and not ASP!).&lt;/p&gt;
&lt;p&gt;[*] wwwroot - a more generic HTTP Error 500 which is totally unhelpful. This error appears for the same file as above, if it is copied from the virtual dir to the wwwroot. In other words the error differs depending on whether the file is in the wwwroot or the virtual dir. File permissions with the files that do work are identical. I even tried creating a new file and copying the code over, so the file was new with inherited permissions. But it made no difference.&lt;/p&gt;
&lt;p&gt;[*] I mucked around with file permissions for a while, and changed &amp;quot;physical path credentials&amp;quot; to my specific user account (rather than pass through authentication). This changed the IIS error to a simple text output: &amp;quot;Input file required&amp;quot;. I assume that's a wild goose chase.&lt;/p&gt;
&lt;p&gt;I have done a totally standard install, and as above, PHP x64 does appear to be working okay, at least at a basic level. Does anyone have any idea why on earth I am getting these IIS7 errors for my old files?&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#8663406</link><pubDate>Sat, 28 Jun 2008 13:46:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8663406</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;Craig - IIS7 stores its configuration in distributed .config files, so web.config files once used by ASP.Net will also apply for IIS7 configuration, even if you are serving PHP.&lt;/p&gt;
&lt;p&gt;Overall, it sounds like you have NTFS ACL problems on your old websites, such that it is not accessible to IIS7&lt;/p&gt;
&lt;p&gt;- hence the problem with reading .config files due to insufficient permission&lt;/p&gt;
&lt;p&gt;- directory NTFS ACLs are just as important as the ACLs on each file, which could be the difference in behavior between virtual directory and wwwroot&lt;/p&gt;
&lt;p&gt;- when you changed the user account IIS uses to execute requests, it sounds like IIS7 was finally able to read configuration and files and attempt to execute the PHP handler, but the handler failed, possibly misconfigured.&lt;/p&gt;
&lt;p&gt;I would recommend installing the &amp;quot;Failed Request Tracing&amp;quot; feature of IIS7, enabling it for this website and create a rule for capturing failing request/response, and see what it says.&lt;/p&gt;
&lt;p&gt;The trace is the most concise way to troubleshoot IIS7 - far better than any log file and certainly better than the custom error responses which you call &amp;quot;generic&amp;quot; -- because error response NEED to be generic for security reasons. Since traces can only be available on the server itself, it contains all necesarry information. Its only problem is that it is detailed and concise and therefore requires more knowledge and effort to wield effective.&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#8848215</link><pubDate>Mon, 11 Aug 2008 17:57:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8848215</guid><dc:creator>anon</dc:creator><description>&lt;p&gt;hi, i am using IIS7 to run PHP - the issue is that when i use certain authentications there seems to be some file permission errors. For example when i use Windows authentication i am not able to write into a file. For this i have no clue as to which user group i need to give the file permission. On the other hand while using the basic authentication &amp;nbsp;i do not get this message. Initially i had the issue with the anonymous authentication as well bit i rectified this by given write access to all users of my machine (though i know this is not the right way). What am i missing for Windows authentication. The same code used to work without any issues in IIS6 with the same set of permissions. This is the error i get : Warning: fopen(file.txt) [function.fopen]: failed to open stream: Permission denied in ]. Any help would be highly appreciated. &lt;/p&gt;
&lt;p&gt;TIA&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#8848884</link><pubDate>Mon, 11 Aug 2008 22:14:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8848884</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;anon - You can use FileMon from Sysinternals.com to monitor file access (and access denies) to determine file and username.&lt;/p&gt;
&lt;p&gt;Failure on Windows Authentication and success on Basic Authentication suggest double-hop issues (is the failing file access on a remote filesystem?) If so, that is a user configuration issue.&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#8849884</link><pubDate>Tue, 12 Aug 2008 07:24:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8849884</guid><dc:creator>Anon</dc:creator><description>&lt;p&gt;The php script is trying to access a file in the local machine. I tried running processmon and found that the user id use was NT AUTHORITY/NETWORK SERVICE. Tried giving write access to NETWORK SERVICE and still got the same error. &lt;/p&gt;
&lt;p&gt;I then tried creating a new application pool, with the user id as an admin of this machine. Still the same error, but now the user id shown in processmon is the admin id provided in the applcation pool. &lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#8852142</link><pubDate>Tue, 12 Aug 2008 19:18:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8852142</guid><dc:creator>lvs</dc:creator><description>&lt;p&gt;Thanks for the post.. it helped me... and its working smoothly.. ;)&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#8876385</link><pubDate>Mon, 18 Aug 2008 15:57:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8876385</guid><dc:creator>Anon</dc:creator><description>&lt;p&gt;i moved all the files to the D drive and it worked fine.&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#9247920</link><pubDate>Mon, 22 Dec 2008 22:41:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9247920</guid><dc:creator>Joe Vivona</dc:creator><description>&lt;p&gt;For anyone who is getting info.php to work when it is in the wwwroot directory (and subdirectories), but not when it is somewhere else in your path. &amp;nbsp;Check the value of &amp;nbsp; open_basedir in your php.ini file. &amp;nbsp; this setting restricts where php files can reside and be run from. &amp;nbsp; so if you have this set to be c:\inetpub\wwwroot and you have a php file in c:\inetpub\blog, IT WILL NOT RUN and you will get a 404 error. &amp;nbsp; I commented this value out as my machine is dedicated for web hosting only. &amp;nbsp; Or using the above example you could set it to be &amp;nbsp; c:\inetpub&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#9288387</link><pubDate>Wed, 07 Jan 2009 20:04:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9288387</guid><dc:creator>Billy</dc:creator><description>&lt;p&gt;i have php up and running via fast cgi and its working ok in the main folder. but if i call any subfolders i get a 500 error, even if i try to call the .php file directly.&lt;/p&gt;
&lt;p&gt;does anyone know why the main folder would work but sub folders will not?&lt;/p&gt;
&lt;p&gt;ie. www.mysite.com &amp;nbsp; &amp;nbsp;works &lt;/p&gt;
&lt;p&gt;but&lt;/p&gt;
&lt;p&gt;www.mysite.com/admin &amp;nbsp; &amp;nbsp;does not work&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#9303679</link><pubDate>Sat, 10 Jan 2009 10:48:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9303679</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;Billy - you should turn on Failed Request Tracing in IIS7 to troubleshoot your misconfiguration.&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#9363862</link><pubDate>Thu, 22 Jan 2009 09:47:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9363862</guid><dc:creator>G</dc:creator><description>&lt;p&gt;Thanks for the post. I was trying to install php outside of inetpub and was having trouble.&lt;/p&gt;
&lt;p&gt;I installed php inside Inetpub then went into IIS Config Manager and clicked on &amp;quot;Add Script Map...&amp;quot; then set Request Path to &amp;quot;*.php&amp;quot;, Executable path to the php install path (c:\inetpub\php) and filled in the name field...and bingo!&lt;/p&gt;
&lt;p&gt;Oh, I added the user account (IIS_IUSRS) to the php dir [permissions]&lt;/p&gt;
&lt;p&gt;...I love Apache but didn't feel like installing on my laptop along with IIS :)&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#9538820</link><pubDate>Wed, 08 Apr 2009 22:39:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9538820</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;Hi guys.&lt;/p&gt;
&lt;p&gt;I'm came here because I got stuck. I have IIS7 running for C# and ASP2.NET projects. Opsys is Vistas Ultimate (SP1).&lt;/p&gt;
&lt;p&gt;I also want to support PHP and PostgreSQL for my current contract. I have PHP running phpinfo() and PostgreSQL running pgadmin. The application code is present, but the include file (HeaderFunctions.inc) has a require for DB.php which I'm told is PEAR. Well I now have that running console via pear.bat.&lt;/p&gt;
&lt;p&gt;The include fails to find DB.php - no file of that name on the system.&lt;/p&gt;
&lt;p&gt;Any clues or pointers would be most welcome, please !!&lt;/p&gt;
&lt;p&gt;I just can't seem to get IIS7 to tie it all together properly.&lt;/p&gt;
</description></item><item><title>re: HOWTO: Install and run PHP on IIS7</title><link>http://blogs.msdn.com/david.wang/archive/2006/04/04/HOWTO-Install-and-run-PHP-on-IIS7.aspx#9539830</link><pubDate>Thu, 09 Apr 2009 12:04:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9539830</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;Update: &amp;nbsp;additional command to set-up pear PDO: &amp;nbsp; pear install db&lt;/p&gt;
&lt;p&gt;This solves this issue and let's us find tghe next one . . . connection string differences between 'Nix and Win&lt;/p&gt;
</description></item></channel></rss>