<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.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>The Official Microsoft IIS Site</title><link>http://blogs.iis.net/</link><description>The platform that enables you to build rich, interactive communities</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Lots of new software for IIS, ASP.NET, AJAX and PHP this week</title><link>http://blogs.iis.net/bills/archive/2009/11/20/lot-s-of-new-software-for-iis-asp-net-ajax-and-php-this-week.aspx</link><pubDate>Fri, 20 Nov 2009 18:13:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3524529</guid><dc:creator>bills</dc:creator><slash:comments>21</slash:comments><description>&lt;p&gt;Wow, what a week of innovation for the Microsoft Web Platform.&amp;#160; This week we released a ton of new software which, if you haven’t already, you’ve got to check out.&amp;#160; Here is a quick overview:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;IIS Search Engine Optimization v1 final release!&lt;/h3&gt;  &lt;p&gt;The IIS team shipped the final release of &lt;a href="http://www.iis.net/expand/SEOToolkit"&gt;IIS SEO toolkit&lt;/a&gt; which makes it easier to &lt;a href="http://www.microsoft.com/web/page.aspx?templang=en-us&amp;amp;chunkfile=seo.html"&gt;optimize your Website for search engines&lt;/a&gt;.&amp;#160; It acts like a mini-search engine on your computer, scans your site and then provides useful tips for how to improve the relevance of your site to search engines.&amp;#160; This tool is now out of beta and available for &lt;a href="http://www.microsoft.com/web/gallery/install.aspx?appid=seotoolkit"&gt;download through Web PI&lt;/a&gt;.&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;ASP.NET MVC 2 beta!&lt;/h3&gt;  &lt;p&gt;The ASP.NET team has been hard at work on the second release of MVC, which is now available to beta test.&amp;#160; Phil has a &lt;a href="http://haacked.com/archive/2009/11/17/asp.net-mvc-2-beta-released.aspx"&gt;great blog post&lt;/a&gt; on the release with links to the &lt;a href="http://go.microsoft.com/fwlink/?LinkID=157068"&gt;download&lt;/a&gt; page, &lt;a href="http://go.microsoft.com/fwlink/?LinkID=157069"&gt;readme notes&lt;/a&gt; and the &lt;a href="http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=36054"&gt;source code&lt;/a&gt;.&amp;#160; There are a bunch of new features in MVC 2 including AsyncController, expression based helpers, improvements with client validation, all new areas support, and more.&amp;#160; Read more on &lt;a href="http://haacked.com/archive/2009/11/17/asp.net-mvc-2-beta-released.aspx"&gt;Phil’s blog&lt;/a&gt;.&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;ASP.NET AJAX Library beta!&lt;/h3&gt;  &lt;p&gt;The ASP.NET AJAX team also has some exciting news with the release of the ASP.NET AJAX Library beta.&amp;#160; James has a &lt;a href="http://jamessenior.com/post/News-on-the-ASPNET-Ajax-Library.aspx"&gt;terrific blog post&lt;/a&gt; with the news&amp;#160; This is the first project accepted into the new CodePlex Foundation! (more on that later)&amp;#160; The ASP.NET AJAX Library has a new portal at &lt;a href="http://www.asp.net/ajaxlibrary"&gt;www.asp.net/ajaxlibrary&lt;/a&gt; with tutorials, samples, and more.&amp;#160; Read &lt;a href="http://jamessenior.com/post/News-on-the-ASPNET-Ajax-Library.aspx"&gt;James’ post about the news&lt;/a&gt; and check it out! &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;IIS Application Request Router 2 final release!&lt;/h3&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;The IIS team also released the final version of the IIS Application Request Router v2.&amp;#160; This is a super powerful module that provides routing and load balancing capabilities for Windows and IIS.&amp;#160; It makes it easy to create and manage an entire cluster of Web servers.&amp;#160; &lt;a href="http://blogs.iis.net/mailant/default.aspx"&gt;Mai-lan&lt;/a&gt; has a lot of info on the release in &lt;a href="http://blogs.iis.net/mailant/archive/2009/11/09/download-a-powerful-load-balancer-and-caching-solution-free-on-windows-server-2008-or-later-with-the-application-request-routing-arr-2-0.aspx"&gt;her blog post&lt;/a&gt; and you can download ARR v2 using &lt;a href="http://www.microsoft.com/web/gallery/install.aspx?appid=ARRv2"&gt;Web PI today&lt;/a&gt;.&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;PHP WinCache module final release - faster PHP on Windows!&lt;/h3&gt;  &lt;p&gt;The &lt;a href="http://blogs.iis.net/ruslany/archive/2009/11/19/wincache-extension-1-0-for-php-release-to-web.aspx"&gt;PHP team announced today&lt;/a&gt; the final release of the Windows Cache Extension for PHP, or WinCache for short, which makes PHP run much, much faster on Windows.&amp;#160; The &lt;a href="http://techportal.ibuildings.com/2009/11/19/php-on-windows-the-wincache-1-0-benchmark"&gt;iBuildings guys&lt;/a&gt; released a benchmark showing how the WinCache extension speeds up PHP by as much as 2x over standard PHP.&amp;#160; The other exciting part of this announcement is that the sources for the extension are now available under an open source BSD license and the source code is maintained and host on &lt;a title="http://pecl.php.net/packages/wincache/" href="http://pecl.php.net/packages/wincache/"&gt;http://pecl.php.net/packages/wincache/&lt;/a&gt;&amp;#160; If you install PHP &lt;a href="http://www.microsoft.com/web/gallery/install.aspx?appid=WinCache52"&gt;using Web PI&lt;/a&gt;, you automatically get &lt;a href="http://www.iis.net/expand/wincacheforphp"&gt;WinCache&lt;/a&gt;.&amp;#160; &lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3524529" width="1" height="1"&gt;</description><cs:applicationKey>bills</cs:applicationKey><category domain="http://blogs.iis.net/bills/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.iis.net/bills/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.iis.net/bills/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/bills/archive/tags/IIS+News+Item/default.aspx">IIS News Item</category><category domain="http://blogs.iis.net/bills/archive/tags/Developers/default.aspx">Developers</category><category domain="http://blogs.iis.net/bills/archive/tags/Administrators/default.aspx">Administrators</category><category domain="http://blogs.iis.net/bills/archive/tags/MVC/default.aspx">MVC</category><category domain="http://blogs.iis.net/bills/archive/tags/codeplex/default.aspx">codeplex</category></item><item><title>Windows Cache Extension 1.0 for PHP Released</title><link>http://blogs.iis.net/port25-php/archive/2009/11/19/windows-cache-extension-1-0-for-php-released.aspx</link><pubDate>Fri, 20 Nov 2009 00:40:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3523350</guid><dc:creator>Port 25: The Open Source Community at Microsoft : PHP</dc:creator><slash:comments>4</slash:comments><description>The Microsoft Internet Information Services (IIS) team announced today the release of Windows Cache Extension 1.0 for PHP , a PHP accelerator that is used to increase the speed of PHP applications running on Windows and Windows Server. This is a production-ready release that is provided under an open source BSD license , with the source code hosted and maintained here , and the documentation hosted on php.net . You can find more details on this release on IIS team Product Unit Manager Mai-lan Tomsen...(&lt;a href="http://blogs.iis.net/port25-php/archive/2009/11/19/windows-cache-extension-1-0-for-php-released.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3523350" width="1" height="1"&gt;</description><cs:applicationKey>port25-php</cs:applicationKey><category domain="http://blogs.iis.net/port25-php/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/port25-php/archive/tags/_7E00_FeaturedPost/default.aspx">~FeaturedPost</category><category domain="http://blogs.iis.net/port25-php/archive/tags/Community/default.aspx">Community</category><category domain="http://blogs.iis.net/port25-php/archive/tags/Open+Source/default.aspx">Open Source</category><category domain="http://blogs.iis.net/port25-php/archive/tags/Peter+Galli/default.aspx">Peter Galli</category><category domain="http://blogs.iis.net/port25-php/archive/tags/.NET+Development/default.aspx">.NET Development</category><category domain="http://blogs.iis.net/port25-php/archive/tags/Windows+Server/default.aspx">Windows Server</category></item><item><title>Final RTW version of WINCACHE 1.0 released</title><link>http://blogs.iis.net/donraman/archive/2009/11/19/final-rtw-version-of-wincache-1-0-released.aspx</link><pubDate>Thu, 19 Nov 2009 22:19:39 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3522838</guid><dc:creator>don.raman</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I am extremely proud to announce that we have released the final RTW version of WINCACHE 1.0. Please look at the forum announcement of the same at &lt;a href="http://forums.iis.net/p/1162808/1925444.aspx#1925444"&gt;http://forums.iis.net/p/1162808/1925444.aspx#1925444&lt;/a&gt; which contains all the details about the release. I would strongly recommend everyone running Beta/RC version of WINCACHE 1.0 to upgrade to the final RTW release. If you installed WINCACHE 1.0 RC from Microsoft Web Platform Installer, you can use the same to upgrade to RTW. Upgrade from RC to RTW is supported through WPI. If you have installed WINCACHE 1.0 RC/Beta manually, you will need to install the new binaries manually. Here are the steps:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Download appropriate bits from &lt;a title="http://windows.php.net/downloads/pecl/wincache/" href="http://windows.php.net/downloads/pecl/wincache/"&gt;http://windows.php.net/downloads/pecl/wincache/&lt;/a&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;If you are running PHP 5.2.* you will need to download 'wincache52.exe'&lt;/li&gt;      &lt;li&gt;If you are running PHP 5.3.* you will need to download 'wincache53.exe'&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;Run the executable from the saved location. If you are on Vista+ OS, I would advise you to run the executable as an administrator. Right click on the executable and click 'Run as administrator' button as shown below:&lt;/li&gt; &lt;/ul&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/FinalRTWversionofWINCACHE1.0released_BC21/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="224" alt="image" src="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/FinalRTWversionofWINCACHE1.0released_BC21/image_thumb.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;ul&gt;   &lt;li&gt;If you are prompted with UAC dialog, click 'Yes' to proceed.&lt;/li&gt;    &lt;li&gt;Accept the license agreement.&lt;/li&gt;    &lt;li&gt;Extract the files to choice of your location.&lt;/li&gt;    &lt;li&gt;The folder will contain 4 files as shown below:&lt;/li&gt; &lt;/ul&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/FinalRTWversionofWINCACHE1.0released_BC21/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="102" alt="image" src="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/FinalRTWversionofWINCACHE1.0released_BC21/image_thumb_1.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;ul&gt;   &lt;li&gt;If your server is running, please stop it before you continue copying files.&lt;/li&gt;    &lt;li&gt;Replace the old 'php_wincache.dll' with the new one.&lt;/li&gt;    &lt;li&gt;Replace the old 'wincache.php' with the new one.&lt;/li&gt;    &lt;li&gt;Start the server.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;There are some good enhancements in this release. The 'wincache.php' file has been enhanced to support:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;A brand new chart showing the state of cache memory consumption&lt;/li&gt;    &lt;li&gt;Supports all different kind of IIS authentication&lt;/li&gt;    &lt;li&gt;List of files displayed now in sorted order&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;There has been many critical bug fixes in the DLL itself. There were people who reported crashes and that to random crashes in WINCACHE DLL. All these crashes were happening because of the scavenging logic. WINCACHE on every request checks if there are stale files which need to be removed. There has been nasty bugs in this code path which has been fixed. If you are seeing WINCACHE crashing in event viewer or otherwise, most likely cause was scavenger not working properly. We believe the final RTW release will have all these issues fixed.&lt;/p&gt;  &lt;p&gt;We have also addressed a situation where WINCACHE was making PHP bail out. This was happening because exception were not being handled properly from the extension. A detailed release notes can be found &lt;a href="http://pecl.php.net/package-changelog.php?package=WinCache&amp;amp;release=1.0.0" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;WINCACHE is now also an open source from this release under &lt;a href="http://www.opensource.org/licenses/bsd-license.php" target="_blank"&gt;BSD license&lt;/a&gt;. Extension source code can be found at &lt;a title="http://pecl.php.net/package/WinCache" href="http://pecl.php.net/package/WinCache"&gt;http://pecl.php.net/package/WinCache&lt;/a&gt;. All the documentation about WINCACHE can be found at &lt;a title="http://us3.php.net/wincache/" href="http://us3.php.net/wincache/"&gt;http://us3.php.net/wincache/&lt;/a&gt;. If you are having problem running WINCACHE please visit our forum at &lt;a title="http://forums.iis.net/1164.aspx" href="http://forums.iis.net/1164.aspx"&gt;http://forums.iis.net/1164.aspx&lt;/a&gt;. If you have found a bug, you can report it at &lt;a title="http://pecl.php.net/bugs/report.php?package=WinCache" href="http://pecl.php.net/bugs/report.php?package=WinCache"&gt;http://pecl.php.net/bugs/report.php?package=WinCache&lt;/a&gt;. We will be more than glad to help you.&lt;/p&gt;  &lt;p&gt;In case you are interested in some performance benchmark regarding how WINCACHE competes with some of other available caching solution on Windows, here are the links (They are all published by our users/customers):&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a title="http://blog.calevans.com/2009/09/06/wincache/" href="http://blog.calevans.com/2009/09/06/wincache/"&gt;http://blog.calevans.com/2009/09/06/wincache/&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.iis-aid.com/articles/performance_testing/wincache_performance_live_site"&gt;http://www.iis-aid.com/articles/performance_testing/wincache_performance_live_site&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://techportal.ibuildings.com/2009/11/19/php-on-windows-the-wincache-1-0-benchmark"&gt;http://techportal.ibuildings.com/2009/11/19/php-on-windows-the-wincache-1-0-benchmark&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;It has been a lot of hard work and sweat in the past 6-7 months when we started this project and now that we are done with version 1.0. I hope you all will like this. I would personally like to thank all of you for helping across different milestones in finding bugs, requesting feature enhancement and doing all little things which matter to us.&lt;/p&gt;  &lt;p&gt;And yes, there is a future for WINCACHE and we are going to start working on V2 soon. We are totally committed here to make PHP work the best on IIS. So do drop all your ideas/suggestion and we would love to incorporate those in early stages.&lt;/p&gt;  &lt;p&gt;Hopefully this release will help you running PHP on IIS faster. Thanks for patient reading and good bye.&lt;/p&gt;  &lt;p&gt;Don.&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3522838" width="1" height="1"&gt;</description><cs:applicationKey>donraman</cs:applicationKey><category domain="http://blogs.iis.net/donraman/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/donraman/archive/tags/PHP+Wincahe/default.aspx">PHP Wincahe</category><category domain="http://blogs.iis.net/donraman/archive/tags/WINCACHE+RTW/default.aspx">WINCACHE RTW</category></item><item><title>Windows Cache Extension for PHP (aka, “WinCache”) 1.0 General Availability Today</title><link>http://blogs.iis.net/mailant/archive/2009/11/19/windows-cache-extension-for-php-aka-wincache-1-0-general-availability-today.aspx</link><pubDate>Thu, 19 Nov 2009 21:21:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3522758</guid><dc:creator>mailant</dc:creator><slash:comments>12</slash:comments><description>&lt;p&gt;Today we announce the general availability of the &lt;a href="http://www.iis.net/expand/wincacheforphp"&gt;Windows Cache Extension for PHP 1.0&lt;/a&gt; (affectionately known as “WinCache”), which is an open source &lt;em&gt;built-for-Windows &lt;/em&gt;caching extension to the PHP engine. You can view, contribute and download the source code for WinCache at the PHP repository for extensions (&lt;a href="http://pecl.php.net/package/WinCache"&gt;http://pecl.php.net/package/WinCache&lt;/a&gt;), where &lt;a href="http://pecl.php.net/packages.php?catpid=3&amp;amp;catname=Caching"&gt;we have joined other Linux-based PHP caches&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/mailant/image_2E634D05.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.iis.net/blogs/mailant/image_thumb_0E84C37D.png" width="777" height="410" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I wanted to thank &lt;a href="http://channel9.msdn.com/tags/Pierre+Joye/"&gt;Pierre Joye&lt;/a&gt; for his invaluable help in helping connect the IIS product team with PECL, and for agreeing to host the WinCache binaries on &lt;a href="http://windows.php.net"&gt;http://windows.php.net&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;We cordially invite the PHP development community to join us in development of this caching extension for PHP on Windows. &lt;/strong&gt;We already have gotten one contribution from the community in our pre-release mode and are very excited to have others join this new PHP on Windows caching community. The IIS team at Microsoft is going to start off the v2.0 development by adding a user cache and lazy class loading to the opcode cache, file cache, and relative file cache that is available today in WinCache 1.0. &lt;/p&gt;  &lt;p&gt;I am proud of the WinCache project for many reasons, including:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;strong&gt;&lt;em&gt;WinCache solves a real customer problem&lt;/em&gt;.&lt;/strong&gt; WinCache provides a Windows PHP caching extension that is free and part of the PECL extension library, and can accelerate the performance of all PHP applications on Windows. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;&lt;em&gt;WinCache is our first big open source contribution to the PHP on Windows community.&lt;/em&gt;&lt;/strong&gt; The IIS team has made &lt;a href="http://blogs.iis.net/mailant/archive/2009/05/18/contributions-to-the-php-engine.aspx"&gt;several code contributions (big fixes) to the PHP 5.3 release&lt;/a&gt;, as well as provided support for the &lt;a href="http://blogs.iis.net/ruslany/archive/2009/02/13/windows-installer-for-php-5-2-9-rc-and-php-5-3-beta.aspx"&gt;Windows Installer for PHP community&lt;/a&gt; (John Mertic rocks) and the &lt;a href="http://www.php.net/manual/en/install.windows.php"&gt;Windows documentation on the PHP website&lt;/a&gt;. This WinCache release is a substantial amount of code that we are open sourcing on the PECL extension library. We hope others join this new community to help accelerate PHP performance on Windows. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;&lt;em&gt;WinCache represents a series of “firsts” for Microsoft&lt;/em&gt;&lt;/strong&gt;…first time Microsoft has contributed to the PECL repository, first Windows-based PHP cache, first joint community project between Microsoft and the PHP development community, first BSD license for the IIS team….and the list goes on. The WinCache feature team of &lt;a href="http://blogs.iis.net/ruslany"&gt;Ruslan&lt;/a&gt;, &lt;a href="http://blogs.iis.net/ksingla"&gt;Kanwal&lt;/a&gt; and &lt;a href="http://blogs.iis.net/donraman "&gt;Don&lt;/a&gt; are incredibly passionate about PHP on Windows, respond to their blog and forum comments,&amp;#160; and lurk on the &lt;a href="http://news.php.net/group.php?group=php.windows"&gt;PHP on Windows mailing list&lt;/a&gt; if you want to connect with them. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Here’s some more information about WinCache.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800080"&gt;What is WinCache?&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;WinCache is actually a collection of three caches:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;An opcode file cache, just like the one that APC provides to cache compiled PHP code &lt;/li&gt;    &lt;li&gt;A file cache to help when your PHP scripts run on remote servers. This is net new functionality that is not available in other caching modules at the time of this blog. &lt;/li&gt;    &lt;li&gt;A relative file cache to cache relative file paths for when you are running PHP scripts on remote servers. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;WinCache itself was designed, written, and tested by the IIS engineering team that also brings you FastCGI, the core PHP hosting platform in IIS. We are planning to add more caches to WinCache in 2010.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800080"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800080"&gt;What is the WinCache license?&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;WinCache is licensed under &lt;a href="http://www.opensource.org/licenses/bsd-license.php"&gt;BSD&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800080"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800080"&gt;How do I get WinCache?&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;You can &lt;a href="http://us2.php.net/manual/en/wincache.win32build.php"&gt;compile WinCache as part of your PHP compilation from the PECL library&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;If you download any PHP application from &lt;a href="http://www.microsoft.com/web/downloads/platform.aspx"&gt;Web Platform Installer&lt;/a&gt; and/or the &lt;a href="http://www.microsoft.com/web/gallery"&gt;Windows Web Application Gallery&lt;/a&gt; (&lt;a href="http://www.microsoft.com/web/gallery/WordPress.aspx"&gt;WordPress&lt;/a&gt;, &lt;a href="http://www.microsoft.com/web/gallery/moodle.aspx"&gt;Moodle&lt;/a&gt;, &lt;a href="http://www.microsoft.com/web/gallery/silverstripe.aspx"&gt;SilverStripe&lt;/a&gt;, &lt;a href="http://www.microsoft.com/web/gallery/sugarcrm.aspx"&gt;SugarCRM&lt;/a&gt;, &lt;a href="http://www.microsoft.com/web/gallery/drupal.aspx"&gt;Acquia Drupal&lt;/a&gt;, &lt;a href="http://www.microsoft.com/web/gallery/gallery.aspx"&gt;Gallery 2&lt;/a&gt;, and any other new PHP app in the Web App Gallery), you will automatically get WinCache installed on your IIS computer as part of the PHP application install. We want to make sure that your PHP application deployment and hosting experience is great on Windows. &lt;/p&gt;  &lt;p&gt;&lt;font color="#800080"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#800080"&gt;&lt;strong&gt;How do I learn more about WinCache?&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;You can learn more about WinCache’s features and how to get started on the &lt;a href="http://php.iis.net"&gt;http://php.iis.net&lt;/a&gt; community site. You can also check out the blogs for the feature team (&lt;a href="http://blogs.iis.net/ksingla"&gt;Kanwal&lt;/a&gt;, &lt;a href="http://blogs.iis.net/ruslany"&gt;Ruslan&lt;/a&gt;, &lt;a href="http://blogs.iis.net/donraman"&gt;Don&lt;/a&gt;) or visit the &lt;a href="http://forums.iis.net/1164.aspx"&gt;community forum&lt;/a&gt; which is supported by the feature team and WinCache community. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800080"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800080"&gt;How much faster is it to run WinCache with my PHP application?&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;We are seeing quite a significant increase in performance. But don’t take our word for it. Check out the perspective of other members of the PHP developer community:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://www.phpdeveloper.org/news/13173"&gt;Cal Evans&lt;/a&gt;’ benchmark results&lt;/li&gt;    &lt;li&gt;&lt;a href="http://techportal.ibuildings.com/2009/11/19/php-on-windows-the-wincache-1-0-benchmark./"&gt;TechPortal at iBuildings.com&lt;/a&gt; benchmark results &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;We hope that others try WinCache and publish their findings as well. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800080"&gt;Why is Microsoft investing in making PHP run faster?&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;IIS is all about making apps run at their finest on IIS. We have a built-in advantage with ASP.NET apps because we can walk down the hallway in our building here in the Seattle area to talk to the ASP.NET team about how to make the ASP.NET on IIS experience better. But we also care deeply about the PHP experience on IIS – there are some amazing applications like WordPress and Drupal that form the foundation of many a Web site on the Internet. We are committed to making those applications run great on Windows, which is the primary motivation for our WinCache project.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800080"&gt;How do I learn more about WinCache?&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;To learn more about WinCache, you can check out:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;The &lt;a href="http://us3.php.net/wincache/"&gt;PECL documentation on WinCache&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;The PHP on Windows feature team (&lt;a href="http://blogs.iis.net/ksingla"&gt;Kanwal&lt;/a&gt;, &lt;a href="http://blogs.iis.net/ruslany"&gt;Ruslan&lt;/a&gt;, and &lt;a href="http://blogs.iis.net/donraman"&gt;Don&lt;/a&gt;) blogs &lt;/li&gt;    &lt;li&gt;The &lt;a href="http://forums.iis.net/1164.aspx"&gt;WinCache community forum&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;The &lt;a href="http://forums.iis.net/1164.aspx"&gt;IIS.NET documentation on WinCache&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;The &lt;a href="http://pecl.php.net/package/wincache/"&gt;source code of WinCache on PECL&lt;/a&gt;, licensed under BSD &lt;/li&gt;    &lt;li&gt;How to &lt;a href="http://pecl.php.net/package/wincache/"&gt;file bugs on WinCache in PECL&lt;/a&gt; &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Thanks, &lt;/p&gt;  &lt;p&gt;Mai-lan&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3522758" width="1" height="1"&gt;</description><cs:applicationKey>mailant</cs:applicationKey><category domain="http://blogs.iis.net/mailant/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.iis.net/mailant/archive/tags/IIS+News+Item/default.aspx">IIS News Item</category><category domain="http://blogs.iis.net/mailant/archive/tags/Developers/default.aspx">Developers</category><category domain="http://blogs.iis.net/mailant/archive/tags/Web+PI/default.aspx">Web PI</category><category domain="http://blogs.iis.net/mailant/archive/tags/Web+Application+Gallery/default.aspx">Web Application Gallery</category><category domain="http://blogs.iis.net/mailant/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/mailant/archive/tags/Web+App+Gallery/default.aspx">Web App Gallery</category></item><item><title>WinCache Extension 1.0 for PHP – Release to Web</title><link>http://blogs.iis.net/ruslany/archive/2009/11/19/wincache-extension-1-0-for-php-release-to-web.aspx</link><pubDate>Thu, 19 Nov 2009 19:01:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3522558</guid><dc:creator>RuslanY Blog</dc:creator><slash:comments>0</slash:comments><description>The Windows Cache Extension 1.0 for PHP &amp;#8211; RTW is available for download. This is a final, production-ready release that is provided under an open source BSD license with the source code hosted and maintained on http://pecl.php.net/packages/wincache/ . Install the Windows Cache Extension 1.0 for PHP &amp;#8211; RTW To install the Windows Cache Extension for PHP 5.2 and PHP 5.3, use the download links at the extension&amp;#8217;s home page at http://www.iis.net/expand/WinCacheForPhp . The installation...(&lt;a href="http://blogs.iis.net/ruslany/archive/2009/11/19/wincache-extension-1-0-for-php-release-to-web.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3522558" width="1" height="1"&gt;</description><cs:applicationKey>ruslany</cs:applicationKey><category domain="http://blogs.iis.net/ruslany/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/ruslany/archive/tags/WinCache/default.aspx">WinCache</category></item><item><title>IIS Documentation Updates on PHP.NET</title><link>http://blogs.iis.net/ruslany/archive/2009/11/10/iis-documentation-updates-on-php-net.aspx</link><pubDate>Tue, 10 Nov 2009 19:18:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3505091</guid><dc:creator>RuslanY Blog</dc:creator><slash:comments>0</slash:comments><description>PHP.NET web site is known for its well written and very detailed documentation. The excellent content together with tons of user contributed notes has made the PHP.NET the primary place for getting the help on all PHP related questions. However there was one thing in the PHP docs that was still not up-to-date. The Windows and IIS-specific installation and configuration sections did not cover the latest changes in Windows, such as IIS 7 and FastCGI. Now I am glad to let everyone know that this part...(&lt;a href="http://blogs.iis.net/ruslany/archive/2009/11/10/iis-documentation-updates-on-php-net.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3505091" width="1" height="1"&gt;</description><cs:applicationKey>ruslany</cs:applicationKey><category domain="http://blogs.iis.net/ruslany/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/ruslany/archive/tags/FastCGI/default.aspx">FastCGI</category></item><item><title>Enabling WINCACHE on per site basis</title><link>http://blogs.iis.net/donraman/archive/2009/11/08/enabling-wincache-on-per-site-basis.aspx</link><pubDate>Sun, 08 Nov 2009 19:33:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3500781</guid><dc:creator>don.raman</dc:creator><slash:comments>2</slash:comments><description>&lt;P&gt;With &lt;A href="http://www.iis.net/extensions/WinCacheForPHP" mce_href="http://www.iis.net/extensions/WinCacheForPHP"&gt;WINCACHE 1.0 RC&lt;/A&gt; one can configure parts of WINCACHE solution on a per site basis. As you know WINCACHE has two kinds of cache namely output code cache and file cache. With RC release, you have the ability to turn output code cache on a per site basis. We have got a new WINCACHE directive named WINCACHE.OCENABLEDFILTER which can be used to enable/disable output code cache on a per site basis. This INI directive can take a string which is list of comma separated&amp;nbsp; numbers. Each number in the string represents a valid site id which is a unique identity IIS gives to each Web Site when the site gets created. All the site id included as part of this string will actually toggle the value of WINCACHE.ocenabled while running WINCACHE functionality. Example, if you have below in your PHP INI file:&lt;/P&gt;
&lt;P&gt;wincache.ocenabled=1&lt;/P&gt;
&lt;P&gt;wincache.ocenabledfilter="2,3"&lt;/P&gt;
&lt;P&gt;This means for site having id 2 or 3, WINCACHE output code cache will be disabled and for all other site id, it will be enabled. So this is an extremely easy way of turning WINCACHE output code cache on a per site basis. Some users also gave us suggestion that we should have a similar switch for WINCACHE file cache. Yes, we have heard you and a similar INI directive named WINCACHE.FCENABLEDFILTER has been added for the final RTW release of WINCACHE 1.0. This feature will make the enabling/disabling cache feature on a per site basis complete. &lt;/P&gt;
&lt;P&gt;Let's talk about how we have implemented this. IIS sets a server variable named INSTANCE_ID which is set to site ID for that Web Site. We check for that in the WINCACHE code using Zend function and toggle the feature appropriately. This is a good feature because this is independent of PHP and can work with both PHP 5.2 as well as PHP 5.3.&lt;/P&gt;
&lt;P&gt;By the way, PHP 5.3 also gives you a way to achieve the same thing using PHP_INI_PERDIR concept. Let's say you have two site SITE1 and SITE2 and their respective physical path point to (equivalent to server variable 'DOCUMENT_ROOT') C:\inetpub\wwwroot1 and C:\inetpub\wwwroot2. Here is how you can enable WINCACHE for SITE1 and disable the same for SITE2. In your PHP.INI file include this:&lt;/P&gt;
&lt;P&gt;[PATH=C:/inetpub/wwwroot1/]&lt;/P&gt;
&lt;P&gt;wincache.fcenabled=1&lt;/P&gt;
&lt;P&gt;wincache.ocenabled=1&lt;/P&gt;
&lt;P&gt;[PATH=C:/inetpub/wwwroot2/]&lt;/P&gt;
&lt;P&gt;wincache.fcenabled=0&lt;/P&gt;
&lt;P&gt;wincache.ocenabled=0&lt;/P&gt;
&lt;P&gt;The above will do the trick. One thing to note here is that PHP_INI_PERDIR doesn't work properly for PHP 5.3 on XP and Windows 2k3. All the bugs related to this has been fixed and you can get it work using the latest snapshot from &lt;A href="http://windows.php.net/qa/" target=_blank mce_href="http://windows.php.net/qa/"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Hope this is going to help you. Thanks for the patient reading and good bye.&lt;/P&gt;
&lt;P&gt;Don.&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3500781" width="1" height="1"&gt;</description><cs:applicationKey>donraman</cs:applicationKey><category domain="http://blogs.iis.net/donraman/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/donraman/archive/tags/Wincache+RC/default.aspx">Wincache RC</category><category domain="http://blogs.iis.net/donraman/archive/tags/PHP+Wincahe/default.aspx">PHP Wincahe</category></item><item><title>Running PHP displays the code itself</title><link>http://blogs.iis.net/donraman/archive/2009/11/01/running-php-displays-the-code-itself.aspx</link><pubDate>Sun, 01 Nov 2009 20:31:31 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3488160</guid><dc:creator>don.raman</dc:creator><slash:comments>4</slash:comments><description>&lt;p&gt;At times we get posting on the forum where user complain that when they are running a PHP file, the output is the file itself. This means that the script was not recognized as a PHP script and rather it was treated as plain text by the browser. There are two reasons why you can run into this situation to my knowledge.&lt;/p&gt;  &lt;p&gt;If you are using short tags for writing PHP script like &amp;lt;? echo 'Hello World' ?&amp;gt;, you should ensure that you have &lt;a href="http://php.net/manual/en/ini.core.php" target="_blank"&gt;short_open_tag&lt;/a&gt; INI directive set to '1' in your PHP INI file. If this is not the case the script will not be treated as PHP script. I would prefer PHP script like &amp;lt;?php echo 'Hello World' ?&amp;gt;. This is more clear and avoids confusion.&lt;/p&gt;  &lt;p&gt;Another reason for running into this situation can be if the PHP file is not saved as ASCII/ANSI. Saving the PHP script in UNICODE/Multi-byte format will again fail the script to be recognized as PHP script. Always save the PHP script as plain text file to avoid running into this situation.&lt;/p&gt;  &lt;p&gt;Hopefully this will help some of you in getting around this problem. Thanks for patient reading and good bye.&lt;/p&gt;  &lt;p&gt;Don&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3488160" width="1" height="1"&gt;</description><cs:applicationKey>donraman</cs:applicationKey><category domain="http://blogs.iis.net/donraman/archive/tags/PHP/default.aspx">PHP</category></item><item><title>WINCACHE 1.0 RC - New cool features</title><link>http://blogs.iis.net/donraman/archive/2009/10/20/wincache-1-0-rc-new-cool-features.aspx</link><pubDate>Tue, 20 Oct 2009 05:49:56 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3466483</guid><dc:creator>don.raman</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I will be talking about some new features we have coded in &lt;a href="http://forums.iis.net/t/1161904.aspx" target="_blank"&gt;WINCACHE RC release&lt;/a&gt;. We have introduced new API and changes/additions to the WINCACHE INI directives. I am going to explain two new improvements we have done over Beta release which will dictate how WINCACHE is going to cache the file.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;We have exposed a new function wincache_refresh_if_changed(). This API forces WINCACHE to check for the file change for the files mentioned in the parameter next time the file gets loaded. So this effectively means bypassing the wincache.chkinterval value.The parameter takes the below values:      &lt;ul&gt;       &lt;li&gt;A simple string which is a way to pass one single file name &lt;/li&gt;        &lt;li&gt;An array of strings where one can specify an array of file names &lt;/li&gt;        &lt;li&gt;NULL meaning every single file &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;blockquote&gt;   &lt;p&gt;One important thing to note here is that this API just forces WINCACHE to check for a file change on every request of loading the file. This will not remove the file from the cache unless the file has actually changed. So if there are files in your application which changes dynamically or frequently it is probably a good idea to add those in list by using this API. A good example is 'config.php' file in major PHP applications. This is the file which stores all your configuration and is a good candidate to add to the list as you will probably want the changes (like change of password etc) to get reflected immediately rather than waiting for the interval being set by wincache.interval INI directive. The calls to this API is cumulative in nature. This means the successive call adds to the list and doesn't override the original list. Look at below example:&lt;/p&gt;    &lt;div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; background-color: #f4f4f4"&gt;     &lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color: #800000"&gt;php&lt;/span&gt;

&lt;span style="color: #ff0000"&gt;require_once&lt;/span&gt;(&lt;span style="color: #0000ff"&gt;'inc1.php'&lt;/span&gt;);
&lt;span style="color: #ff0000"&gt;require_once&lt;/span&gt;(&lt;span style="color: #0000ff"&gt;'inc2.php'&lt;/span&gt;);

&lt;span style="color: #ff0000"&gt;wincache_refresh_if_changed&lt;/span&gt;(&lt;span style="color: #0000ff"&gt;'inc1.php'&lt;/span&gt;);
&lt;span style="color: #ff0000"&gt;wincache_refresh_if_changed&lt;/span&gt;(&lt;span style="color: #0000ff"&gt;'inc2.php'&lt;/span&gt;);
?&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
  &lt;/div&gt;

  &lt;p&gt;The above code ensures that both files 'inc1.php' as well as 'inc2.php' are added to the list and if anyone gets modified the changes will take place immediately.&lt;/p&gt;

  &lt;p&gt;&lt;strong&gt;And remember this takes priority over whatever value wincache.chkinterval is set to.&lt;/strong&gt; This will be important when you will know about the next feature.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
  &lt;li&gt;Another thinking that we debated in our feature team meeting was how often PHP file within your application will change. I believe it will not be very often that you will change your PHP files. So I am introducing to you this cool value of '0' which can be set as part of wincache.chkinterval. This will ensure that file once cached will never be checked for the condition if it has changed or not. And this applies to all the files. Now I believe this with the above feature will make a great combination. You know which files may change (and is small). Probably you will like to add them to refresh list using the above API and set wincache.chkinterval to '0'. Since the above API takes priority it will ensure that files which gets changed will be checked and others will never get checked. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I think these two new features will make a great combination if used in the right way.&lt;/p&gt;

&lt;p&gt;I hope you will like these features. Want some feature which is missing, feel free to leave your comment here. I will be so happy to represent your feelings in our feature team meetings. Like these features, well kudos are always welcome. It serves a big motivation for us.&lt;/p&gt;

&lt;p&gt;Thanks for the patient reading and good bye.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Don&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3466483" width="1" height="1"&gt;</description><cs:applicationKey>donraman</cs:applicationKey><category domain="http://blogs.iis.net/donraman/archive/tags/PHP/default.aspx">PHP</category></item><item><title>WINCACHE 1.0 RC - Using the statistics page</title><link>http://blogs.iis.net/donraman/archive/2009/10/20/wincache-1-0-rc-using-the-statistics-page.aspx</link><pubDate>Tue, 20 Oct 2009 05:49:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3466482</guid><dc:creator>don.raman</dc:creator><slash:comments>1</slash:comments><description>&lt;P&gt;We did the Release Candidate (RC) release of WINCACHE today. For details look &lt;A href="http://forums.iis.net/t/1161904.aspx" target=_blank mce_href="http://forums.iis.net/t/1161904.aspx"&gt;here&lt;/A&gt;. It is exciting to see this out as this gives more flexibility in running the software in production environment. One of the enhancement we have done in this release is to provide a brand new statistics page on popular demand. Lot of people asked about statistics page in the forum. We worked on a new statistics page which is really full of lot of information and will be very useful. It has got:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Authentication support. Since we are exposing some server statistics on this page we have secured it using basic PHP authentication. For implementation details look &lt;A href="http://blogs.iis.net/donraman/archive/2009/10/13/simple-authentication-page-in-php.aspx" target=_blank mce_href="http://blogs.iis.net/donraman/archive/2009/10/13/simple-authentication-page-in-php.aspx"&gt;here&lt;/A&gt;. &lt;/LI&gt;
&lt;LI&gt;If you have GD extension loaded it shows some nice graph regarding cache hit and miss. &lt;/LI&gt;
&lt;LI&gt;Well applied CSS with buttons to support different statistics like file cache, output code cache and relative path cache statistics. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;This file is named 'wincache.php' and is never cached. So this means you will get real time statistics about your cache. This file can be found at:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;If you have installed WINCACHE through Web Platform Installer&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This will be present at 'C:\Program Files\IIS\Windows Cache for PHP' on x86 machine and 'C:\Program Files (x86)\IIS\Windows Cache for PHP' for x64 machine.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;If you have installed it manually using the extractor&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This will be present in the same folder where you have extracted the binaries.&lt;/P&gt;
&lt;P&gt;In order to use this page, you must do the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Change the default password. The default password is set to 'wincache'. So please change it to something else. &lt;/LI&gt;
&lt;LI&gt;After you have edited the password, put this somewhere in your WEBROOT folder, I would not put it at WEBROOT folder but rather in some folder under WEBROOT folder whose name is known just to me. Another level of security. &lt;/LI&gt;
&lt;LI&gt;Access the page in the browser using the appropriate address. The browser will popup the authentication dialog. Enter your username and password and you will be able to see the statistics. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;I would also suggest that you should change the default user name in the 'wincache.php' file. The default user name is 'wincache'. This will give you additional level of security.&lt;/P&gt;
&lt;P&gt;One important note, in order to have this work&amp;nbsp;in php.ini file directive &lt;STRONG&gt;&lt;A href="http://php.net/manual/en/ini.core.php" target=_blank mce_href="http://php.net/manual/en/ini.core.php"&gt;cgi.rfc2616_headers&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;should be&amp;nbsp;set to 0 which is the default value.&lt;/P&gt;
&lt;P&gt;I hope you will like the new release. We have worked very hard for this. If you have any suggestion do report it back to us. If you want to report a bug or problem with installation etc. use the WINCACHE &lt;A href="http://forums.iis.net/1164.aspx" target=_blank mce_href="http://forums.iis.net/1164.aspx"&gt;forum&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Thanks for patient reading and good bye for now.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Don.&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3466482" width="1" height="1"&gt;</description><cs:applicationKey>donraman</cs:applicationKey><category domain="http://blogs.iis.net/donraman/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/donraman/archive/tags/Wincache+statistics+page/default.aspx">Wincache statistics page</category><category domain="http://blogs.iis.net/donraman/archive/tags/Wincache+RC/default.aspx">Wincache RC</category></item><item><title>Windows Cache Extension 1.0 for PHP – RC</title><link>http://blogs.iis.net/ruslany/archive/2009/10/20/windows-cache-extension-1-0-for-php-rc.aspx</link><pubDate>Tue, 20 Oct 2009 05:45:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3466503</guid><dc:creator>RuslanY Blog</dc:creator><slash:comments>0</slash:comments><description>The Windows Cache Extension 1.0 for PHP &amp;#8211; Release Candidate is available for download. The release contains functionality and stability improvements and it is believed to have the quality level suitable for production deployments. Install the Windows Cache Extension 1.0 for PHP &amp;#8211; RC To install the Windows Cache Extension for PHP 5.2 and PHP 5.3, use the download links at the extension&amp;#8217;s home page at http://www.iis.net/extensions/wincacheforphp . The installation with Web Platform...(&lt;a href="http://blogs.iis.net/ruslany/archive/2009/10/20/windows-cache-extension-1-0-for-php-rc.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3466503" width="1" height="1"&gt;</description><cs:applicationKey>ruslany</cs:applicationKey><category domain="http://blogs.iis.net/ruslany/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/ruslany/archive/tags/IIS+News+Item/default.aspx">IIS News Item</category><category domain="http://blogs.iis.net/ruslany/archive/tags/WinCache/default.aspx">WinCache</category></item><item><title>The survey is about to close...</title><link>http://blogs.iis.net/sqlphp/archive/2009/10/19/the-survey-is-about-to-close.aspx</link><pubDate>Mon, 19 Oct 2009 23:30:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3466177</guid><dc:creator>Microsoft SQL Server Driver for PHP Team Blog : PHP</dc:creator><slash:comments>3</slash:comments><description>Have you submitted your response to the survey yet? If you have, thank you for taking the time to provide us with your feedback. If you have not yet taken the survey OR have not finished it yet, it's time to get it completed so that your voice can be heard. The survey, which is available here will close on 21st October 2009. Thank you, Raghu Ram Principal Group Program Manager, SQL Connectivity, Microsoft Corp, Redmond, WA...(&lt;a href="http://blogs.iis.net/sqlphp/archive/2009/10/19/the-survey-is-about-to-close.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3466177" width="1" height="1"&gt;</description><cs:applicationKey>sqlphp</cs:applicationKey><category domain="http://blogs.iis.net/sqlphp/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/sqlphp/archive/tags/SQL+Connectivity/default.aspx">SQL Connectivity</category><category domain="http://blogs.iis.net/sqlphp/archive/tags/Survey/default.aspx">Survey</category></item><item><title>Configuring PHP Extension on Windows - A simple way</title><link>http://blogs.iis.net/donraman/archive/2009/10/16/configuring-php-extension-on-windows-a-simple-way.aspx</link><pubDate>Fri, 16 Oct 2009 01:42:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3461067</guid><dc:creator>don.raman</dc:creator><slash:comments>6</slash:comments><description>&lt;P&gt;There has been too many problem reported in our forum about not able to configure one particular extension. The problems are many:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Configuring a non-compatible version of the extension &lt;/LI&gt;
&lt;LI&gt;Missing some dependent DLL &lt;/LI&gt;
&lt;LI&gt;Trying to use thread safe version of the extension DLL&amp;nbsp; for non thread safe PHP build and vice-versa&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;If you have configured a PHP extension and you can't see it loaded, I generally run the command (assuming your PHP is installed at 'C:\Program Files\PHP')&lt;/P&gt;
&lt;P&gt;'C:\Program Files\PHP\php-cgi.exe' -v from the command prompt.&lt;/P&gt;
&lt;P&gt;This really helps in catching some error.&lt;/P&gt;
&lt;P&gt;So what's the best way to configure a PHP extension. I would say if the extension you are trying to install is available as part of PHP MSI, it is the best idea to use the PHP MSI to configure your extension. There is no manual step involved and all right dependent DLL will also get installed. Plus your PHP.INI file gets updated automatically. Now I am going to tell you how to achieve this from a PHP MSI UI. Let me warn you this is for novice user. Expert ones can just skip this. So here are the steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Go to Control Panel &lt;/LI&gt;
&lt;LI&gt;Click on Add/Remove Program (Or, Uninstall a program) &lt;/LI&gt;
&lt;LI&gt;Select PHP MSI and click on 'Change'. Remember you should have installed PHP using the PHP MSI. If you have installed it using the ZIP file this won't work. &lt;/LI&gt;
&lt;LI&gt;You will see the below UI. &lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_2.png" mce_href="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" border=0 alt=image src="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_thumb.png" width=244 height=191 mce_src="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;Click on Next, following UI will appear. &lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_4.png" mce_href="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" border=0 alt=image src="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_thumb_1.png" width=244 height=191 mce_src="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;Click 'Change'&lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_6.png" mce_href="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_6.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" border=0 alt=image src="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_thumb_2.png" width=244 height=191 mce_src="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;Select 'IIS FastCGI' &lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_8.png" mce_href="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_8.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" border=0 alt=image src="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_thumb_3.png" width=244 height=191 mce_src="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_thumb_3.png"&gt;&lt;/A&gt; &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;Chose the extension you want to install and click 'Next'. &lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_10.png" mce_href="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_10.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" border=0 alt=image src="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_thumb_4.png" width=244 height=191 mce_src="http://blogs.iis.net/blogs/donraman/WindowsLiveWriter/ConfiguringPHPExtensionsonWindowsAsimple_10EBF/image_thumb_4.png"&gt;&lt;/A&gt; &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;Click on 'Change' &lt;/LI&gt;
&lt;LI&gt;Click on 'Finish' on next screen and you are done. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;So you now know how easy it is to install a PHP extension using the MSI.&lt;/P&gt;
&lt;P&gt;Hopefully this will help you in setting up your PHP extension. Thanks for the patient reading and good bye.&lt;/P&gt;
&lt;P&gt;Don.&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3461067" width="1" height="1"&gt;</description><cs:applicationKey>donraman</cs:applicationKey><category domain="http://blogs.iis.net/donraman/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/donraman/archive/tags/PHP+extension+installation/default.aspx">PHP extension installation</category></item><item><title>Simple Authentication Page in PHP</title><link>http://blogs.iis.net/donraman/archive/2009/10/13/simple-authentication-page-in-php.aspx</link><pubDate>Tue, 13 Oct 2009 02:22:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3454856</guid><dc:creator>don.raman</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;As part of &lt;A href="http://learn.iis.net/page.aspx/678/using-windows-cache-extension-for-php/" mce_href="http://learn.iis.net/page.aspx/678/using-windows-cache-extension-for-php/"&gt;WINCACHE&lt;/A&gt; statistics page, I came across the need for making the WINCACHE.php file having some kind of authentication. Yes we will have an official WINCACHE statistics page shipping with the Release Candidate due sometime this month. To know more about this upcoming release please read &lt;A href="http://blogs.iis.net/ksingla/archive/2009/10/05/feature-additions-and-bug-fixes-coming-up-in-wincache.aspx" mce_href="http://blogs.iis.net/ksingla/archive/2009/10/05/feature-additions-and-bug-fixes-coming-up-in-wincache.aspx"&gt;this&lt;/A&gt; blog from the Developer on the team. This is the time that I learnt that PHP has built in authentication support. I am going to talk about basic authentication page using PHP. I will be using code snippet from our new WINCACHE.php page to explain how easily this can be achieved.&lt;/P&gt;
&lt;P&gt;This functionality is available when PHP is running as an Apache module and not the CGI. So it also works with IIS configured to run PHP using FastCGI. This is how it works:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use the &lt;A href="http://www.php.net/manual/en/function.header.php" mce_href="http://www.php.net/manual/en/function.header.php"&gt;header()&lt;/A&gt; function of PHP to send 'Authentication required' message to the browser. &lt;/LI&gt;
&lt;LI&gt;Browser will pop up a window asking for USERNAME/PASSWORD. &lt;/LI&gt;
&lt;LI&gt;Once the user fills in the USERNAME and PASSWORD the script containing the authentication code is called again. &lt;/LI&gt;
&lt;LI&gt;But this three server variables are set. They are PHP_AUTH_USER, PHP_AUTH_PW and AUTH_TYPE. &lt;/LI&gt;
&lt;LI&gt;So this time your script can do the actual authentication using these server variables. &lt;/LI&gt;
&lt;LI&gt;PHP &lt;A href="http://us3.php.net/manual/en/function.isset.php" mce_href="http://us3.php.net/manual/en/function.isset.php"&gt;isset()&lt;/A&gt; function comes here handy as you can dictate when to call authentication windows and when to do the actual authentication. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Now let's work on actual code. The code we will work on is very simple. It will simply put a greeting message to users once they are authentication. And here goes the actual code.&lt;/P&gt;
&lt;DIV style="BORDER-RIGHT: gray 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: gray 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 8pt; PADDING-BOTTOM: 4px; MARGIN: 20px 0px 10px; OVERFLOW: auto; BORDER-LEFT: gray 1px solid; WIDTH: 97.5%; CURSOR: text; MAX-HEIGHT: 200px; LINE-HEIGHT: 12pt; PADDING-TOP: 4px; BORDER-BOTTOM: gray 1px solid; FONT-FAMILY: consolas, 'Courier New', courier, monospace; HEIGHT: 228px; BACKGROUND-COLOR: #f4f4f4"&gt;&lt;PRE style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 338px; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;php&lt;/SPAN&gt;
&lt;SPAN style="COLOR: #ff0000"&gt;define&lt;/SPAN&gt;(&lt;SPAN style="COLOR: #0000ff"&gt;'USE_AUTHENTICATION'&lt;/SPAN&gt;, &lt;SPAN style="COLOR: #ff0000"&gt;1&lt;/SPAN&gt;);
&lt;SPAN style="COLOR: #ff0000"&gt;define&lt;/SPAN&gt;(&lt;SPAN style="COLOR: #0000ff"&gt;'USERNAME'&lt;/SPAN&gt;, &lt;SPAN style="COLOR: #0000ff"&gt;'wincache'&lt;/SPAN&gt;);
&lt;SPAN style="COLOR: #ff0000"&gt;define&lt;/SPAN&gt;(&lt;SPAN style="COLOR: #0000ff"&gt;'PASSWORD'&lt;/SPAN&gt;, &lt;SPAN style="COLOR: #0000ff"&gt;'wincache'&lt;/SPAN&gt;);

&lt;SPAN style="COLOR: #ff0000"&gt;if&lt;/SPAN&gt; ( &lt;SPAN style="COLOR: #ff0000"&gt;USE_AUTHENTICATION&lt;/SPAN&gt; == &lt;SPAN style="COLOR: #ff0000"&gt;1&lt;/SPAN&gt; ) {
    &lt;SPAN style="COLOR: #ff0000"&gt;if&lt;/SPAN&gt; ( !&lt;SPAN style="COLOR: #ff0000"&gt;isset&lt;/SPAN&gt;($&lt;SPAN style="COLOR: #ff0000"&gt;_SERVER&lt;/SPAN&gt;[&lt;SPAN style="COLOR: #0000ff"&gt;'PHP_AUTH_USER'&lt;/SPAN&gt;] ) || !&lt;SPAN style="COLOR: #ff0000"&gt;isset&lt;/SPAN&gt;( $&lt;SPAN style="COLOR: #ff0000"&gt;_SERVER&lt;/SPAN&gt;[&lt;SPAN style="COLOR: #0000ff"&gt;'PHP_AUTH_PW'&lt;/SPAN&gt;] ) ||    
    $&lt;SPAN style="COLOR: #ff0000"&gt;_SERVER&lt;/SPAN&gt;[&lt;SPAN style="COLOR: #0000ff"&gt;'PHP_AUTH_USER'&lt;/SPAN&gt;] != &lt;SPAN style="COLOR: #ff0000"&gt;USERNAME&lt;/SPAN&gt; || $&lt;SPAN style="COLOR: #ff0000"&gt;_SERVER&lt;/SPAN&gt;[&lt;SPAN style="COLOR: #0000ff"&gt;'PHP_AUTH_PW'&lt;/SPAN&gt;] != &lt;SPAN style="COLOR: #ff0000"&gt;PASSWORD&lt;/SPAN&gt; ) {
        &lt;SPAN style="COLOR: #ff0000"&gt;header&lt;/SPAN&gt;( &lt;SPAN style="COLOR: #0000ff"&gt;'WWW-Authenticate: Basic realm="WINCACHE Log In!"'&lt;/SPAN&gt; );
        &lt;SPAN style="COLOR: #ff0000"&gt;header&lt;/SPAN&gt;( &lt;SPAN style="COLOR: #0000ff"&gt;'HTTP/1.0 401 Unauthorized'&lt;/SPAN&gt; );
        &lt;SPAN style="COLOR: #ff0000"&gt;exit&lt;/SPAN&gt;;
    }
    &lt;SPAN style="COLOR: #ff0000"&gt;else&lt;/SPAN&gt;
    {
        &lt;SPAN style="COLOR: #ff0000"&gt;echo&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;"Welcome WINCACHE User."&lt;/SPAN&gt;;
    }
}
?&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;
&lt;P&gt;One important note, in order to have this work&amp;nbsp;in php.ini file directive &lt;STRONG&gt;&lt;A href="http://php.net/manual/en/ini.core.php" target=_blank mce_href="http://php.net/manual/en/ini.core.php"&gt;cgi.rfc2616_headers&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;should be&amp;nbsp;set to 0.&lt;/P&gt;
&lt;P&gt;That's it and you are done. Hopefully this post will help you writing basic authentication page in PHP. Thanks for patient reading and good bye. PHP also supports digest authentication but that's another blog post.&lt;/P&gt;
&lt;P&gt;Don.&lt;/P&gt;
&lt;P&gt;Edit: The above works only if your site is configured in IIS to use 'Anonymous authentication'. For a generic PHP authentication solution which will work well on IIS look &lt;A class="" href="http://blogs.iis.net/donraman/archive/2009/10/24/wincache-statistics-page-login-dialog-keeps-popping-up.aspx" target=_blank mce_href="http://blogs.iis.net/donraman/archive/2009/10/24/wincache-statistics-page-login-dialog-keeps-popping-up.aspx"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3454856" width="1" height="1"&gt;</description><cs:applicationKey>donraman</cs:applicationKey><category domain="http://blogs.iis.net/donraman/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/donraman/archive/tags/Simple+Authentication/default.aspx">Simple Authentication</category></item><item><title>Upgrading to PHP 5.3 - an easy way</title><link>http://blogs.iis.net/donraman/archive/2009/10/08/upgrading-to-php-5-3-an-easy-way.aspx</link><pubDate>Thu, 08 Oct 2009 09:07:08 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3447359</guid><dc:creator>don.raman</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;I already talked about how WPI can help you installing PHP on Windows running IIS. If you haven't read that post, I would encourage you to read that post before continue reading this. The link is &lt;a href="http://blogs.iis.net/donraman/archive/2009/10/07/installing-php-on-windows.aspx"&gt;here&lt;/a&gt;. So wondering why I am asking you to read the previous post of mine. Well the reason is we are going to upgrade to PHP 5.3 following my previous post and then doing a little bit of trick. Again I have seen a lot of forum posting in the IIS forum where people have asked about this. I would again ensure that manual steps are extremely limited and that most of the process is done by the software.&lt;/p&gt;  &lt;p&gt;If you already have any version of PHP running (greater than PHP5.2.8) with IIS FastCGI please ignore this paragraph. Otherwise install the latest version of PHP 5.2.11 using Microsoft Web Platform Installer as described in my &lt;a href="http://blogs.iis.net/donraman/archive/2009/10/07/installing-php-on-windows.aspx"&gt;previous&lt;/a&gt; blog. Once your PHP environment is set properly please follow the next paragraph. A quick and easy way to test the PHP installation is to write a small PHP script (name it anything you want, I am naming it index.php) and have &amp;lt;?php phpinfo() ?&amp;gt; as a content in the file. You can save this file in your WEBROOT folder and access it using browser of your choice. &lt;/p&gt;  &lt;p&gt;In order to test PHP installation on IIS I generally do the below:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Go to DOCUMENT_ROOT (typically this will be C:\Inetpub\wwwroot) and create a folder named 'phptest'. &lt;/li&gt;    &lt;li&gt;Save the above file with name index.php inside the folder 'phptest'. &lt;/li&gt;    &lt;li&gt;Please ensure that you have a site named 'Default Web Site' present and the physical path is pointing to 'C:\Inetpub\wwwroot' and the port binding is default 80 port. When you enable/install IIS by default this is created so unless you have deleted it yourself, it should be there. &lt;/li&gt;    &lt;li&gt;Now invoke Internet Explorer and type 'http://localhost/phptest/' in the address bar. &lt;/li&gt;    &lt;li&gt;If you are able to see a proper page full with PHP information, you are all set. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;If you would like to move to PHP5.3 now I would strongly advise to go through the migration guide at &lt;a href="http://us.php.net/migration53"&gt;http://us.php.net/migration53&lt;/a&gt;. This details out all the differences. new features etc. Windows binaries for PHP5.3 are available at &lt;a href="http://windows.php.net/download/"&gt;http://windows.php.net/download/&lt;/a&gt;. I would advise to do the following:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Understand thoroughly the need for PHP5.3 &lt;/li&gt;    &lt;li&gt;Go to Control Panel/Add Remove Programs and uninstall PHP5.2.11 &lt;/li&gt;    &lt;li&gt;Download the MSI for 5.3 from &lt;a href="http://windows.php.net/download/"&gt;http://windows.php.net/download/&lt;/a&gt;. There are certain advantages of using the MSI as it automatically does some configuration setting for you. So I would suggest to use the MSI. Ensure that you are downloading the NTS version of PHP MSI. At a top level MSI will do the below things automatically if you have selected IIS FastCGI to be configured from the install UI:       &lt;ul&gt;       &lt;li&gt;Do the handler mapping for *.php files &lt;/li&gt;        &lt;li&gt;Add 'index.php' to default document set &lt;/li&gt;        &lt;li&gt;Set some of the INI directives for you in PHP.INI file which is considered as a good practice &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;At install time select all the extensions you would like to use. &lt;/li&gt;    &lt;li&gt;Install PHP 5.3. &lt;/li&gt;    &lt;li&gt;One of the changes in 5.3 is related to timezone where if PHP INI directive date.timezone is not set, PHP will issue you a warning. Please set it to something you would like the default to be to get rid of this warning in your PHP.INI file. A list of supported timezone can be found at &lt;a href="http://us3.php.net/manual/en/timezones.php"&gt;http://us3.php.net/manual/en/timezones.php&lt;/a&gt;. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Hope this helps you run PHP5.3. And thanks for the patient reading.&lt;/p&gt;  &lt;p&gt;Now that you know how to configure and test PHP installation under IIS, let us focus on some cool PHP programming tips. Next week I am planning to talk about writing a basic authentication page using PHP. Till then good bye.&lt;/p&gt;  &lt;p&gt;Don Raman&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3447359" width="1" height="1"&gt;</description><cs:applicationKey>donraman</cs:applicationKey><category domain="http://blogs.iis.net/donraman/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/donraman/archive/tags/PHP+Installaton/default.aspx">PHP Installaton</category></item></channel></rss>