<?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>PHP Community</title><link>http://forums.iis.net/1102.aspx</link><description>A forum for the PHP community running on IIS</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Php working so slow, what could be problem?</title><link>http://forums.iis.net/thread/1908668.aspx</link><pubDate>Tue, 30 Jun 2009 01:20:01 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908668</guid><dc:creator>brashquido</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908668.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1102&amp;PostID=1908668</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/iis/images/icon-quote.gif"&gt; &lt;strong&gt;netinial:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Now we tested it with php.exe -f c:\deneme.php via isolated from plesk&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;By&amp;nbsp;executing&amp;nbsp;via cli and obtaining the same results you also isolate this issue from IIS, meaning PHP is the problem. The fact you also get same/similar times between CGI, ISAPI and FastCGI also suggests it is not an issue with loading/unloading the PHP environment. Looking at your phpinfo page it appears that you are using the threadsafe version of PHP with FastCGI. You should see a noticable performance improvement by moving to the non threadsafe version of PGP with FastCGI. Also, you don&amp;#39;t mention what other services are in use on your server. &lt;/p&gt;</description></item><item><title>Re: Php working so slow, what could be problem?</title><link>http://forums.iis.net/thread/1907272.aspx</link><pubDate>Tue, 16 Jun 2009 20:19:49 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907272</guid><dc:creator>netinial</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907272.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1102&amp;PostID=1907272</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello thank you for your answer.&lt;/p&gt;&lt;p&gt;&amp;nbsp;It is all time like that. Now we tested it with php.exe -f c:\deneme.php via isolated from plesk.&lt;/p&gt;&lt;p&gt;Result is same. it is not about plesk.&lt;/p&gt;&lt;p&gt;there is a problem with iis7 and php. I formated computer And installed fresh versions .. &lt;/p&gt;&lt;p&gt;&amp;nbsp;And still same also. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Php working so slow, what could be problem?</title><link>http://forums.iis.net/thread/1907270.aspx</link><pubDate>Tue, 16 Jun 2009 20:05:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907270</guid><dc:creator>HostingASPNet</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907270.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1102&amp;PostID=1907270</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is this all the time, or only when you load the page for the first time. You could check your application pool idle time out and increase the value, so not to terminate unused worker processes.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Regards&lt;/p&gt;</description></item><item><title>Php working so slow, what could be problem?</title><link>http://forums.iis.net/thread/1907259.aspx</link><pubDate>Tue, 16 Jun 2009 19:00:43 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907259</guid><dc:creator>netinial</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907259.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1102&amp;PostID=1907259</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Dear friends.&lt;/p&gt;&lt;p&gt;My problem is PHP on my server so slow.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;Here is specifications of my dedicated server, from serverloft.&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Quad Core - MD Opteron 2344HE&lt;br /&gt;4 GB - 
               DDR2-667 ECC Registered&lt;br /&gt;2 x SATA II 7,200 rpm &lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;And here is my dedicated server software&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Windows 2008 web edition 64 bit&lt;br /&gt;iis7 on Plesk 8.6&lt;br /&gt;Php 5.2.6&lt;/p&gt;&lt;p&gt;&lt;b&gt;I tested my php.ini file there is no problem.&lt;br /&gt;I have a small code to test my php&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;it is;&lt;/p&gt;&lt;p&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;$sure_baslangici = microtime(true);&lt;br /&gt;&lt;br /&gt;for ($i=0;$i&amp;lt;500;$i++) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $j++;&lt;br /&gt;&amp;nbsp; // belki başka bi for dongüsü?&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ($k=0;$k&amp;lt;10000;$k++) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $j++;}&lt;br /&gt;&amp;nbsp; // belki başka bi for dongüsü?&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;$sure_bitimi = microtime(true);&lt;br /&gt;$sure = $sure_bitimi - $sure_baslangici;&lt;br /&gt;&lt;br /&gt;echo &amp;quot;Bekleme süresi: $sure saniye.\n&amp;quot;;&lt;br /&gt;&lt;br /&gt;phpinfo();&lt;br /&gt;?&amp;gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;This small loop takes, 1.61774396896 second on my dedicated.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;You can see ; &lt;a href="http://sarar.kz/deneme.php"&gt;http://sarar.kz/deneme.php &lt;/a&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;And it tooks about 0.60 second on my personal laptop. This is about 1 second better than my dedicated&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;I have tried php as, CGI / FASTCGI / ISAPI EXTENSION&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;They all retuned near values.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;I also tried with Dedicated Application Pool but there are no big difference.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;What could be problem?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Please help me.&lt;/p&gt;&lt;p&gt;Best Regards Deniz Han &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>