<?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>Search results matching tag 'PHP'</title><link>http://blogs.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=PHP&amp;orTags=0</link><description>Search results matching tag 'PHP'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Lot’s 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:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3524529</guid><dc:creator>bills</dc:creator><cs:applicationKey>bills</cs:applicationKey><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;</description></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>Anonymous</dc:creator><cs:applicationKey>port25-php</cs:applicationKey><description>&lt;SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;The Microsoft Internet Information Services (IIS) team&amp;nbsp;announced today the release of &lt;A href="http://www.iis.net/expand/WinCacheForPhp" target=_blank mce_href="http://www.iis.net/expand/WinCacheForPhp"&gt;Windows Cache Extension 1.0 for PHP&lt;/A&gt;, a PHP accelerator that is used to increase the speed of PHP applications running on Windows and Windows Server. &lt;/o:p&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;This is a production-ready release that is provided under an open source &lt;A href="http://www.opensource.org/licenses/bsd-license.php" target=_blank mce_href="http://www.opensource.org/licenses/bsd-license.php"&gt;BSD license&lt;/A&gt;, with the source code hosted and maintained &lt;A href="http://pecl.php.net/packages/wincache/" target=_blank mce_href="http://pecl.php.net/packages/wincache/"&gt;here&lt;/A&gt;, and the documentation hosted on &lt;A href="http://www.php.net/wincache/" target=_blank mce_href="http://www.php.net/wincache/"&gt;php.net&lt;/A&gt;.&lt;/o:p&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;
&lt;P&gt;You can find more details on this&amp;nbsp;release&amp;nbsp;on IIS team Product Unit Manager &lt;A href="http://blogs.iis.net/mailant/archive/2009/11/19/windows-cache-extension-for-php-aka-wincache-1-0-general-availability-today.aspx" target=_blank mce_href="http://blogs.iis.net/mailant/archive/2009/11/19/windows-cache-extension-for-php-aka-wincache-1-0-general-availability-today.aspx"&gt;Mai-lan Tomsen Bukovec's blog&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WinCache extension is a significant open source contribution from Microsoft to the PHP on Windows community. The extension code is hosted and maintained on &lt;A href="http://pecl.php.net/" target=_blank mce_href="http://pecl.php.net/"&gt;PHP Extensions Community Library&lt;/A&gt; (PECL) and is available for everyone to view, branch, compile, and contribute to. &lt;/P&gt;
&lt;P&gt;The IIS team also invites&amp;nbsp;the PHP development community to join it in development of this caching extension for &lt;A href="http://port25.technet.com/archive/2009/05/11/php-5-3-rc2-highly-optimized-for-windows.aspx" target=_blank mce_href="http://port25.technet.com/archive/2009/05/11/php-5-3-rc2-highly-optimized-for-windows.aspx"&gt;PHP on Windows&lt;/A&gt;. There have already&amp;nbsp;been some contributions from the community whileWinCache was in the pre-release mode, and IIS team is looking forward to having others join this new PHP on Windows caching project.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Also, in time for this release, an independent PHP company - Ibuildings - has conducted a &lt;A href="http://techportal.ibuildings.com/2009/11/19/php-on-windows-the-wincache-1-0-benchmark" target=_blank mce_href="http://techportal.ibuildings.com/2009/11/19/php-on-windows-the-wincache-1-0-benchmark"&gt;benchmark test&lt;/A&gt; with the WinCache RTW bits and published the results. &lt;/P&gt;
&lt;P&gt;The release of this production-ready PHP accelerator for Windows is an important step towards making the Windows operating system an even better platform for hosting PHP applications. &lt;/P&gt;
&lt;P&gt;WinCache extension significantly improves performance of PHP applications and lowers CPU load on the server. This, together with the fact that no application code changes are necessary to take advantage of the caching, makes WinCache a must have extension when running &lt;A href="http://port25.technet.com/archive/2008/03/04/php-on-windows.aspx" target=_blank mce_href="http://port25.technet.com/archive/2008/03/04/php-on-windows.aspx"&gt;PHP on Windows&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;More information about the WinCache extension for PHP can be found as follows:&lt;/P&gt;
&lt;UL type=disc&gt;
&lt;LI&gt;The &lt;A href="http://us3.php.net/wincache/" target=_blank mce_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 blogs (&lt;A href="http://blogs.iis.net/ksingla" target=_blank mce_href="http://blogs.iis.net/ksingla"&gt;Kanwal&lt;/A&gt;, &lt;A href="http://blogs.iis.net/ruslany" target=_blank mce_href="http://blogs.iis.net/ruslany"&gt;Ruslan&lt;/A&gt;, and &lt;A href="http://blogs.iis.net/donraman" target=_blank mce_href="http://blogs.iis.net/donraman"&gt;Don&lt;/A&gt;)&lt;/LI&gt;
&lt;LI&gt;The &lt;A href="http://forums.iis.net/1164.aspx" target=_blank mce_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" target=_blank mce_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/" target=_blank mce_href="http://pecl.php.net/package/wincache/"&gt;WinCache on PECL source code&lt;/A&gt;, licensed under BSD &lt;/LI&gt;
&lt;LI&gt;How to &lt;A href="http://pecl.php.net/package/wincache/" target=_blank mce_href="http://pecl.php.net/package/wincache/"&gt;file bugs on WinCache in PECL&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;img src="http://port25.technet.com/aggbug.aspx?PostID=28165" width="1" height="1"&gt;</description></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><cs:applicationKey>donraman</cs:applicationKey><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;</description></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><cs:applicationKey>mailant</cs:applicationKey><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;</description></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>Anonymous</dc:creator><cs:applicationKey>ruslany</cs:applicationKey><description>&lt;p&gt;The &lt;a href="http://www.iis.net/extensions/wincacheforphp"&gt;Windows Cache Extension 1.0 for PHP&lt;/a&gt; &amp;#8211; RTW is available for download. This is a final, production-ready release that is provided under an open source &lt;a href="http://www.opensource.org/licenses/bsd-license.php"&gt;BSD license&lt;/a&gt; with the source code hosted and maintained on &lt;a href="http://pecl.php.net/packages/wincache/"&gt;http://pecl.php.net/packages/wincache/&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Install the Windows Cache Extension 1.0 for PHP &amp;#8211; RTW&lt;/h3&gt;
&lt;p&gt;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 &lt;a href="http://www.iis.net/expand/WinCacheForPhp"&gt;http://www.iis.net/expand/WinCacheForPhp&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The installation with Web Platform Installer is the easiest as it will automatically place the extension binary into proper location and will update the PHP configuration to enable the extension. Also, if you have the beta or RC release of the extension installed, then Web PI will upgrade it. If you install any PHP application by using Web PI then the Windows Cache Extension for PHP will be offered as an optional component.&lt;span id="more-605"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you install the extension manually, then follow the instructions at &lt;a href="http://us2.php.net/manual/en/wincache.setup.php"&gt;Installing/Configuring WinCache for PHP&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The extension can only be used with non-thread-safe builds of PHP&lt;/li&gt;
&lt;li&gt;The extension can only be used when IIS is configured to run PHP via FastCGI&lt;/li&gt;
&lt;li&gt;The Windows Cache Extension 1.0 for PHP 5.3 can only be used with the x86 VC9 build of PHP 5.3.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Getting support&lt;/h3&gt;
&lt;p&gt;The WinCache extension is not supported by Microsoft Product Support Services. Instead it is supported as any other community PHP extension via the forums, mailing lists and the PECL bugs database. Use the following resources:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;To get help with installation, configuration and usage &amp;#8211; &lt;a href="http://www.php.net/wincache/"&gt;WinCache documentation on php.net&lt;/a&gt;;&lt;/li&gt;
&lt;li&gt;To ask questions about the extension &amp;#8211; &lt;a href="http://forums.iis.net/1164.aspx"&gt;WinCache forum on iis.net&lt;/a&gt;;&lt;/li&gt;
&lt;li&gt;To report a bug in the extension &amp;#8211; &lt;a href="http://pecl.php.net/bugs/"&gt;PECL bug tracking system&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Getting the extension source code&lt;/h3&gt;
&lt;p&gt;The source code for the extension is available at &lt;a href="http://pecl.php.net/package/wincache/"&gt;http://pecl.php.net/package/wincache/&lt;/a&gt;. For the instructions on how to build the extension yourself refer to &lt;a href="http://us2.php.net/manual/en/wincache.win32build.php"&gt;Building WinCache Extension&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Bug fixes and changes since the RC release:&lt;/h3&gt;
&lt;p&gt;Here is the list of changes and bug fixes that have been made since the RC release of WinCache. For the complete list of WinCache features and configuration options refer to the &lt;a href="http://www.php.net/wincache"&gt;WinCache documentation&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Added new INI directive &lt;strong&gt;&lt;a href="http://us2.php.net/manual/en/wincache.configuration.php#ini.wincache.fcenabledfilter"&gt;wincache.fcenabledfilter&lt;/a&gt;&lt;/strong&gt; that can be used to turn on/off file cache for individual IIS sites.&lt;/li&gt;
&lt;li&gt;Fixed a bug that caused include_once() function to load file twice because relative file path was case insensitive.&lt;/li&gt;
&lt;li&gt;Changed cache size default values. Default size of file cache is 32 MB and opcode cache is 96 MB.&lt;/li&gt;
&lt;li&gt;Changed minimum and maximum values of file cache size and opcode cache size.&lt;/li&gt;
&lt;li&gt;Added an auto adjustment of the opcode cache size to ensure it is at least 3 times bigger than file cache size.&lt;/li&gt;
&lt;li&gt;Fixed several bugs in cache scavenger logic that caused access violations and crashes in php-cgi.exe processes.&lt;/li&gt;
&lt;li&gt;Fixed a bug in exception handling that caused php-cgi.exe process to crash.&lt;/li&gt;
&lt;li&gt;Modified the charts in wincache.php to display the numbers rounded to 2 digits after decimal point.&lt;/li&gt;
&lt;li&gt;Fixed the wincache.php authenticaiton logic to not conflict with IIS built-in authentication.&lt;/li&gt;
&lt;li&gt;Added memory usage pie charts to wincache.php file.&lt;/li&gt;
&lt;li&gt;Updated the wincache.php to show a warning if opcode cache size is too small and it has been automatically increased.&lt;/li&gt;
&lt;li&gt;wincache.php will now display entries in opcode cache, file cache and relative path cache in lexicographical sorted way.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Thanks!&lt;/h3&gt;
&lt;p&gt;WinCache Team thanks all of you who have installed and tried early releases of WinCache extension and provided us with feedback, bug reports and feature suggestions through the &lt;a href="http://forums.iis.net/1164.aspx"&gt;Windows Cache Extension for PHP Forum&lt;/a&gt;. Your involvement throughout the release process has been very valuable to us and really helped us make this a great release!&lt;/p&gt;
</description></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>Anonymous</dc:creator><cs:applicationKey>ruslany</cs:applicationKey><description>&lt;p&gt;&lt;a href="http://www.php.net/manual/en/" target="_blank"&gt;PHP.NET&lt;/a&gt; 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.&lt;/p&gt;
&lt;p&gt;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 of the PHP documentation is also being updated!&lt;/p&gt;
&lt;p&gt;Check out the first batch of updates:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.php.net/manual/en/install.windows.manual.php" target="_blank"&gt;Manual Installation Steps&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.php.net/manual/en/install.windows.iis6.php" target="_blank"&gt;Microsoft IIS 5.1 and IIS 6.0&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.php.net/manual/en/install.windows.iis7.php" target="_blank"&gt;Microsoft IIS 7.0 and later&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The content is still being updated and there are plans to add more instructions, such as how to install &lt;a href="http://blogs.iis.net/donraman/archive/2009/10/07/installing-php-on-windows.aspx" target="_blank"&gt;PHP on Windows with PHP Installer&lt;/a&gt;, how to &lt;a href="http://blogs.iis.net/donraman/archive/2009/10/08/upgrading-to-php-5-3-an-easy-way.aspx" target="_blank"&gt;easily upgrade to PHP 5.3&lt;/a&gt;, how to run multiple &lt;a href="http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70/#PHP_Versioning" target="_blank"&gt;PHP versions side by side&lt;/a&gt;, etc. If you have any suggestions on the updated content or if you have any additional instructions that you think will be useful, please submit user notes on &lt;a href="http://docs.php.net/manual/en/install.windows.php"&gt;PHP.NET&lt;/a&gt;.&lt;/p&gt;
</description></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><cs:applicationKey>donraman</cs:applicationKey><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;</description></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><cs:applicationKey>donraman</cs:applicationKey><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;</description></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><cs:applicationKey>donraman</cs:applicationKey><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;</description></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><cs:applicationKey>donraman</cs:applicationKey><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;</description></item></channel></rss>