<?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 'PHP FastCGI extensions'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=PHP+FastCGI+extensions&amp;orTags=0</link><description>Search results matching tag 'PHP FastCGI extensions'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>FastCGI does not pass PHP error to syslog (windows event log)</title><link>http://forums.iis.net/p/1159662/1912015.aspx#1912015</link><pubDate>Thu, 30 Jul 2009 08:48:16 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1912015</guid><dc:creator>TU_MSN</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;i&amp;#39;m trying to get our systems shift to W2K8 and IIS7. Therefore i need to pass every php error to the windows event log (not an error log file!), but unfortunately i can&amp;#39;t get it working. This is the only problem as the rest of my php scripts is working properly now. I&amp;#39;m using:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;- IIS 7&lt;br /&gt;- Windows Server 2008&lt;br /&gt;- PHP 5.3.0&lt;br /&gt;- Role Service: Cgi&lt;br /&gt;&lt;/strong&gt;- php.ini:&lt;br /&gt;&lt;strong&gt;error_reporting = E_ALL &amp;amp; ~E_DEPRECATED&lt;br /&gt;log_errors = On&lt;br /&gt;error_log = syslog&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Strange thing is, that calling php-fcgi.exe on the console passes the errors to the event log without any problem, although it prints a HTTP 500 status:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;php-cgi.exe -c php.ini failure.php&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;Status: 500 Internal Server Error&lt;br /&gt;Content-type: text/html; charset=utf-8&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Even the setting of &amp;quot;fastcgi.logging&amp;quot; (0/1) doesn&amp;#39;t fix this issue. I already granted permission for IIS_IUSRS and the Internet Guest Account via regedit to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\ and to C:\Windows\System32\winevt without success. Also php 5.2.10&amp;nbsp;and Zend Server (CE) did not pass it through.&lt;br /&gt;&lt;br /&gt;Can anyone assist and tell me what to do?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;br /&gt;TU_MSN&lt;/p&gt;
&lt;p&gt;PS: Where can i find the version of the FastCgi service?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>IIS7 -FastCGI -PHP White Screen of Death</title><link>http://forums.iis.net/p/1155825/1895924.aspx#1895924</link><pubDate>Sat, 07 Mar 2009 04:59:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1895924</guid><dc:creator>gusus</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>&lt;p&gt;I am having an issue with IIS7 and PHP relating to clients receiving the white screen of death (blank page) after 90 seconds of processing.&amp;nbsp; Standard php processing works fine. &amp;nbsp; &lt;/p&gt;&lt;p&gt;The following are set in php.ini:&lt;/p&gt;&lt;p&gt;max_execution_time = 180&lt;br /&gt;max_input_time = 180&lt;br /&gt;memory_limit = 128M&lt;/p&gt;&lt;p&gt;In the FastCGI configuration on IIS I have the following:&lt;/p&gt;&lt;p&gt;ActivityTimeout 900&lt;br /&gt;IdleTimeout 300&lt;br /&gt;RequestTimeout 500&lt;/p&gt;&lt;p&gt;I have a simple page that runs through loop and sleeps every 15 seconds.&amp;nbsp; If I set the max_execution_time to 30 seconds, I get the php execution time exceeded error as I should with two entries in the page. If I manually set_time_limit(0), it gives the white page of death.&amp;nbsp; I have set php logging and nothing appears in the log.&amp;nbsp; I intentionally put a syntax error to make sure and the syntax error was logged.&amp;nbsp; In addition, I can set the ActivityTimeout to 10 and IIS gives me a 500 error telling me that the FastCGI process exceeded the configuration activity timeout.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The weird thing is the Failed Request Tracking show that the time taken was 30592 msec with a status of 200 (I assume success).&amp;nbsp; However, the last entry in the request trace is &amp;quot;FASTCGI_WAITING_FOR_RESPONSE&amp;quot;...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any ideas???&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: PHP on IIS 7</title><link>http://forums.iis.net/p/1152881/1887245.aspx#1887245</link><pubDate>Thu, 11 Dec 2008 04:57:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1887245</guid><dc:creator>tk7275</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>&lt;p&gt;Not to hijack this thread, but I&amp;#39;m experiencing similar issues.&lt;/p&gt;
&lt;p&gt;I followed the instructions in this blog: &lt;a href="http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70/"&gt;http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m running Windows 2008 x64 in a VMware ESXi Virtual Machine.&amp;nbsp; All network components are working, as I&amp;#39;m able to a) download patches and b) get to this blog to write this post :)&lt;/p&gt;
&lt;p&gt;Directions seemed to be going fine, I got the 5.2.8 version of PHP, installed the IIS7 admin tools for FastCGI administration, etc.&amp;nbsp; Typed in c:\php\php -info and a whole slew of text scrolled across my machine.&amp;nbsp; Yay!&lt;/p&gt;
&lt;p&gt;But then, I tried two things: 1) place the phpinfo.php into the c:\windows\inetpub directory, and 2) created a c:\www\phptest directory, placed the phpinfo.php and an index.php (both with the same text),&amp;nbsp;created a virtual directory called phptest&lt;/p&gt;
&lt;p&gt;I tried &lt;a href="http://localhost/phpinfo.php"&gt;http://localhost/phpinfo.php&lt;/a&gt;&amp;nbsp; and &lt;a href="http://localhost/phptest"&gt;http://localhost/phptest&lt;/a&gt; and &lt;a href="http://localhost/phptest/phpinfo.php"&gt;http://localhost/phptest/phpinfo.php&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I ensured that phpinfo.php and index.php were included in all the default documents (even made it first on the list.)&lt;/p&gt;
&lt;p&gt;One thing I noticed, the docs say if you don&amp;#39;t see the modules listed (mind you, that&amp;#39;s if the website even worked) to edit the applicationHost.config file - I don&amp;#39;t have that file in my system32\config... it&amp;#39;s in a HISTORY directory...&amp;nbsp; (it exists on my Windows2003 server in that location, but not Windows 2008)&amp;nbsp; Is that causing issues?&lt;/p&gt;
&lt;p&gt;And I got error 403.14 - Forbidden&lt;/p&gt;
&lt;p&gt;Module: DirectoryListingModule&lt;/p&gt;
&lt;p&gt;Notification: ExecuteRequestHandler&lt;/p&gt;
&lt;p&gt;Handler: StaticFile&lt;/p&gt;
&lt;p&gt;ErrorCode: 00000000&lt;/p&gt;
&lt;p&gt;(Logon method and user, both Anonymous)&lt;/p&gt;
&lt;p&gt;If I tried &lt;a href="http://localhost/phptest/phpinfo.php"&gt;http://localhost/phptest/phpinfo.php&lt;/a&gt; I got the generic &amp;quot;The webpage cannot be found.&amp;quot;&lt;/p&gt;
&lt;p&gt;I tried downloading the x64 bit verion from Fusion (5.2.5)... Same errors&lt;/p&gt;
&lt;p&gt;I had similar experiences with getting PHP to work on Windows 2003 R2 with IIS6.&lt;/p&gt;
&lt;p&gt;PHP from the commandline works - but can&amp;#39;t get IIS to get it to work.&lt;/p&gt;
&lt;p&gt;Using things like Filemon (on Win2003 at least) never really revealed where I didn&amp;#39;t have permissions.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m new to IIS7, so maybe it&amp;#39;s a security thing?&amp;nbsp; Dunno.&amp;nbsp; It&amp;#39;s a pretty vanilla Windows 2008 Server.&amp;nbsp; Freshly created to get IIS7 and PHP working (with FastCGI)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any help or directions would be nice.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks,&lt;/p&gt;
&lt;p&gt;TK&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>PHP on IIS 7</title><link>http://forums.iis.net/p/1152881/1884023.aspx#1884023</link><pubDate>Thu, 06 Nov 2008 23:25:06 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1884023</guid><dc:creator>ericandrews</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>&lt;p&gt;Hello to everyone. I am trying to get PHP 5.2.6 to work on IIS 7. I followed all the directions in the article &amp;quot;Using FastCGI to Host PHP Applications on IIS 7.0&amp;quot;, located here:&amp;nbsp; http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70/&lt;/p&gt;&lt;p&gt;I followed all the steps, opened up a command prompt, typed in C:\PHP&amp;gt;php - info and it retured all the dependencies and PHP confituration information...sweet up to this point.&lt;/p&gt;&lt;p&gt;I continued with the rest of the installation instructions, configured IIS to Handle PHP Requests, created a phpinfo.php page, &amp;lt;?php phpinfo() ; ?&amp;gt;&lt;/p&gt;&lt;p&gt;I pulled up a browser and try to pull up the phpinfo.php page and get a 500 Internal Server error.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any suggestions? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: C:\PHP\php-cgi.exe - The FastCGI process exited unexpectedly</title><link>http://forums.iis.net/p/1149374/1869613.aspx#1869613</link><pubDate>Thu, 15 May 2008 16:27:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1869613</guid><dc:creator>Alex.W474</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;It looks like PHP extension folder is incorrect in the PHP.ini and because of this PHP cannot load the library. You start PHP from C:\PHP but it search for extensions in C:\Program Files (x86)\PHP\ext\.&lt;br /&gt; &lt;/p&gt;&lt;p&gt;Set the extension_dir directive in PHP.ini to &amp;#39;C:\PHP\ext&amp;#39; to resolve this.issue.&lt;/p&gt;&lt;p&gt;BTW, you can try the installation that is described on the following page: &lt;a href="http://www.witsuite.com/support/knowledge-base/manual-installation/install-php.php"&gt;&lt;strong&gt;&lt;/strong&gt;WITSuite.com Knowledge Base / Manual PHP install&lt;/a&gt; - it works ok for me.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>