<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/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/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'fastcgi install error problem'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=fastcgi+install+error+problem&amp;orTags=0</link><description>Search results matching tag 'fastcgi install error problem'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>FastCGI error - Access is denied</title><link>http://forums.iis.net/p/1161103/1917849.aspx#1917849</link><pubDate>Tue, 22 Sep 2009 20:00:02 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1917849</guid><dc:creator>coolmac76</dc:creator><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I setup a web server with the following installed:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;IIS 6.0&lt;br /&gt;php-5.2.11-nts-Win32&lt;br /&gt;FastCGI for IIS 6.0&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m trying to use FastCGI to parse php scripts within my html files. But I first need for it to be able to parse php files. So when i tried viewing my index.php (or any other .php page) I get the following error:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;---------------------------------------------------------------------------------- &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;FastCGI Error&lt;/b&gt;&lt;br /&gt;The FastCGI Handler was unable to process the request.&lt;br /&gt;&lt;br /&gt;Error Details:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Error Number: 5 (0x80070005).&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Error Description: Access is denied.&lt;br /&gt;HTTP Error 500 - Server Error.&lt;br /&gt;Internet Information Services (IIS)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------------------------------------------------------------&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;This is how i have my other configurations set up:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;Environment Variables:&lt;/u&gt; &lt;br /&gt;Path: C:\PHP;&lt;br /&gt;PHPRC: C:\PHP&lt;br /&gt;&lt;br /&gt;&lt;u&gt;php.ini:&lt;/u&gt;&lt;br /&gt;log_errors = On&lt;br /&gt;error_log =&amp;quot;C:\PHP\logs\php-errors.log&amp;quot;&lt;br /&gt;doc_root = &amp;quot;C:\Inetpub\wwwroot&amp;quot;&lt;br /&gt;cgi.force_redirect = 0&lt;br /&gt;cgi.fix_pathinfo=1&lt;br /&gt;fastcgi.impersonate = 1;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;fcgiext.ini:&lt;/u&gt;&lt;br /&gt;[Types]&lt;br /&gt;php=PHP&lt;br /&gt;&lt;br /&gt;[PHP]&lt;br /&gt;ExePath=C:\PHP\php-cgi.exe&lt;br /&gt;InstanceMaxRequests=10000&lt;br /&gt;EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;IIS Manager:&lt;/u&gt;&lt;br /&gt; (Under Web Sites &amp;gt; Home Directory &amp;gt; Configuration &amp;gt; Mappings)&lt;br /&gt;&amp;nbsp; .php ==&amp;gt; C:\WINDOWS\system32\inetsrv\fcgiext.dll&lt;br /&gt;&amp;nbsp; Limit to ==&amp;gt; GET,HEAD,POST&lt;br /&gt;&amp;nbsp; Script engine = checked&lt;br /&gt;&amp;nbsp; Verify that file exists = checked&lt;br /&gt;&lt;/p&gt;&lt;p&gt;(Under Web Service Extensions)&lt;br /&gt;&amp;nbsp; FastCGI Handler = Allowed (C:\WINDOWS\system32\inetsrv\fcgiext.dll)&lt;br /&gt;&amp;nbsp; PHP-FastCGI = Allowed (C:\PHP\php-cgi.exe)&amp;nbsp; &lt;/p&gt;&lt;p&gt;Can someone help me figure out my problem? Just to let you know, i can view html pages just fine. It&amp;#39;s the .php pages that are giving me the error. Any help would be GREATLY appreciated! &lt;/p&gt;&lt;p&gt;Thanks,&lt;br /&gt;Steve&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: FastCGI Handler doesn't see php</title><link>http://forums.iis.net/p/1154985/1899396.aspx#1899396</link><pubDate>Sat, 04 Apr 2009 15:40:03 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1899396</guid><dc:creator>nkrowe</dc:creator><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><description>&lt;p&gt;Hold your horses, I think I have it working!!!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have been running all of my test .php files from the folder c:\a (my work folder).&lt;/p&gt;
&lt;p&gt;I moved the .php files to the website home directory and NOW THEY ARE WORKING. I guess it isn&amp;#39;t like .htm where you can run it from anywhere.&lt;/p&gt;</description></item><item><title>Re: FastCGI Handler doesn't see php</title><link>http://forums.iis.net/p/1154985/1899395.aspx#1899395</link><pubDate>Sat, 04 Apr 2009 15:04:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1899395</guid><dc:creator>nkrowe</dc:creator><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><description>&lt;p&gt;[quote user=&amp;quot;brashquido&amp;quot;] 
&lt;p&gt;&amp;nbsp;Getting FastCGI to work with PHP is a two stage process. First you need to install FastCGI and create an application mapping to the php extension in IIS, then you need to configure fcgiext.ini so it knows what to do with php requests. Can you post your modifications in fcgiext.ini?&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;[/quote]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I really didn&amp;#39;t have to change anything in the fcgiext.ini.&amp;nbsp; I ran the cscript fcgiconfig.js per the instructions and everything in the fcgiext.ini and php.ini were correct.&amp;nbsp; Here is the fcgiext.ini:&lt;/p&gt;
&lt;p&gt;[Types]&lt;br /&gt;php=PHP&lt;/p&gt;
&lt;p&gt;[PHP]&lt;br /&gt;ExePath=C:\PHP\php-cgi.exe&lt;br /&gt;InstanceMaxRequests=10000&lt;br /&gt;EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000,PHPRC:C:\PHP\&lt;/p&gt;
&lt;p&gt;Here is the php.ini:&lt;/p&gt;
&lt;p&gt;default_socket_timeout = 60&lt;br /&gt;upload_tmp_dir=&amp;quot;C:\WINDOWS\Temp&amp;quot;&lt;br /&gt;session.save_path=&amp;quot;C:\WINDOWS\Temp&amp;quot;&lt;br /&gt;cgi.fix_pathinfo=1&lt;br /&gt;cgi.force_redirect=0&lt;br /&gt;fastcgi.impersonate=1&lt;br /&gt;extension_dir=&amp;quot;C:\PHP\ext&amp;quot;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I can from the command line run: php helloworld.php and it works.&lt;/p&gt;
&lt;p&gt;I checked and c:/php/ is in the computer path.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: FastCGI Handler doesn't see php</title><link>http://forums.iis.net/p/1154985/1899394.aspx#1899394</link><pubDate>Sat, 04 Apr 2009 14:55:29 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1899394</guid><dc:creator>nkrowe</dc:creator><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><description>&lt;p&gt;[quote user=&amp;quot;ruslany&amp;quot;] 
&lt;p&gt;I would suggest trying to install PHP by using Web Platform Installer 2.0: &lt;a href="http://ruslany.net/2009/03/install-php-with-microsoft-web-platform-installer-20/"&gt;http://ruslany.net/2009/03/install-php-with-microsoft-web-platform-installer-20/&lt;/a&gt;&amp;nbsp;or by using the PHP installer msi: &lt;a href="http://windows.php.net/downloads/releases/php-5.2.9-1-Win32-VC6-x86.msi"&gt;http://windows.php.net/downloads/releases/php-5.2.9-1-Win32-VC6-x86.msi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[/quote]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;OK, I started over and used the second file (php-5.2.9-1-Win32-VC6-x86.msi).&amp;nbsp; Same Results.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I made a file for the phpinfo test.&amp;nbsp;The code is:&lt;/p&gt;&lt;pre&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;?php
phpinfo();
?&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;If I run the file with a .php extension, I get exactly what the code looks like above.&lt;/pre&gt;&lt;pre&gt;If I run the file with a .htm extension, I get a white screen.&lt;/pre&gt;&lt;pre&gt;Does ASP.NET have anything to do with getting FastCGI and PHP working?&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;Thanks.&lt;/pre&gt;</description></item></channel></rss>