<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RuslanY Blog &#187; WinCache</title>
	<atom:link href="http://ruslany.net/category/wincache/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruslany.net</link>
	<description>IIS, FastCGI, PHP and other interesting stuff</description>
	<lastBuildDate>Fri, 26 Aug 2011 06:36:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WinCache Object Cache plugin for WordPress</title>
		<link>http://ruslany.net/2011/05/wincache-object-cache-plugin-for-wordpress/</link>
		<comments>http://ruslany.net/2011/05/wincache-object-cache-plugin-for-wordpress/#comments</comments>
		<pubDate>Mon, 09 May 2011 06:55:35 +0000</pubDate>
		<dc:creator>ruslany</dc:creator>
				<category><![CDATA[WinCache]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://ruslany.net/?p=1046</guid>
		<description><![CDATA[The WinCache Object Cache plugin provides a persistent memory-based backend for the WordPress object cache. An object cache is a place for WordPress and WordPress extensions to store the results of complex operations. On subsequent loads, this data can be fetched from the cache, which will be must faster than dynamically generating it on every [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://wordpress.org/extend/plugins/wincache-object-cache-backend/">WinCache Object Cache plugin</a> provides a persistent memory-based backend for the WordPress object cache. An object cache is a place for WordPress and WordPress extensions to store the results of complex operations. On subsequent loads, this data can be fetched from the cache, which will be must faster than dynamically generating it on every page load.</p>
<p>The WinCache Object Cache for WordPress is available at the following location:</p>
<p><a title="http://wordpress.org/extend/plugins/wincache-object-cache-backend/" href="http://wordpress.org/extend/plugins/wincache-object-cache-backend/">http://wordpress.org/extend/plugins/wincache-object-cache-backend/</a></p>
<p><strong>Note</strong>: if you use the old version that you have downloaded from blog post about how to <a href="http://ruslany.net/2010/03/make-wordpress-faster-on-iis-with-wincache-1-1/">Make WordPress faster on IIS with WinCache 1.1</a>, then it is highly recommended to upgrade to the version from wordpress.org.</p>
<p>The plugin is based on the code written by <a href="http://markjaquith.wordpress.com/">Mark Jaquith</a> for his <a href="http://wordpress.org/extend/plugins/apc/">APC Object Cache</a> WordPress plugin. Thanks to <a href="http://andrewnacin.com/">Andrew Nacin</a> for pointing me to that plugin and suggesting to publish similar one for WinCache.</p>
]]></content:encoded>
			<wfw:commentRss>http://ruslany.net/2011/05/wincache-object-cache-plugin-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WinCache and WordPress plugin upgrade problem</title>
		<link>http://ruslany.net/2011/04/wincache-and-wordpress-plugin-upgrade-problem/</link>
		<comments>http://ruslany.net/2011/04/wincache-and-wordpress-plugin-upgrade-problem/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 18:47:43 +0000</pubDate>
		<dc:creator>ruslany</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WinCache]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://ruslany.net/?p=1009</guid>
		<description><![CDATA[The WinCache extension 1.1 for PHP has been released last year. Since then several customers reported a bug in the extension that prevents WordPress and other PHP applications from performing automatic upgrades of their plugins. This was reported on WordPress forum as well as on WinCache forum. The new build of WinCache with the fix [...]]]></description>
			<content:encoded><![CDATA[<p>The WinCache extension 1.1 for PHP has been released last year. Since then several customers reported <a href="http://pecl.php.net/bugs/bug.php?id=18010">a bug</a> in the extension that prevents WordPress and other PHP applications from performing automatic upgrades of their plugins. This was reported on <a href="http://wordpress.org/support/topic/wordpress-on-iis-7-plugin-update-problem?replies=33">WordPress forum</a> as well as on <a href="http://forums.iis.net/t/1169832.aspx">WinCache forum</a>.</p>
<p>The new build of WinCache with the fix for this problem is available now at the following location:</p>
<p><a title="https://sourceforge.net/projects/wincache/files/development/" href="https://sourceforge.net/projects/wincache/files/development/">https://sourceforge.net/projects/wincache/files/development/</a></p>
<p>The latest dev build at that location is a release candidate build. Several customers have already verified that this build fixes the problem and is running stable in their environments. Please try it out and let me know if it works or does not work for you. The things to try and to look for are:</p>
<ol>
<li>Try to auto-upgrade any of the WordPress plugins;</li>
<li>After installing this build check the Windows Application event log from time to time looking for errors caused by module “php_wincache.dll”.</li>
</ol>
<p>If you see any errors while using this build please let me know by leaving a comment here or in <a href="http://forums.iis.net/1164.aspx">WinCache forum</a> or by opening a bug in <a href="http://pecl.php.net/bugs/search.php?cmd=display&amp;status=Open&amp;package_name[]=WinCache">PECL bug database</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ruslany.net/2011/04/wincache-and-wordpress-plugin-upgrade-problem/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>WinCache Extension 1.1 for PHP &#8211; Release to Web</title>
		<link>http://ruslany.net/2010/06/wincache-extension-1-1-for-php-release-to-web/</link>
		<comments>http://ruslany.net/2010/06/wincache-extension-1-1-for-php-release-to-web/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 19:44:11 +0000</pubDate>
		<dc:creator>ruslany</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WinCache]]></category>
		<category><![CDATA[IIS News Item]]></category>

		<guid isPermaLink="false">http://ruslany.net/?p=784</guid>
		<description><![CDATA[Today IIS team has published the final release of WinCache Extension 1.1 for PHP. This is the latest stable and production ready version of the extension. The v1.1 has all the features available in version 1.0 plus the following features. User Cache API’s can be used by PHP scripts to store PHP objects and variables [...]]]></description>
			<content:encoded><![CDATA[<p>Today IIS team has published the final release of <a href="http://www.iis.net/download/wincacheforphp">WinCache Extension 1.1 for PHP</a>. This is the latest stable and production ready version of the extension. The v1.1 has all the features available in <a href="http://www.iis.net/download/wincacheforphp">version 1.0</a> plus the following features.</p>
<ul>
<li><strong><a href="http://docs.php.net/manual/en/ref.wincache.php">User Cache API’s</a></strong> can be used by PHP scripts to store PHP objects and variables in shared memory. This way PHP scripts may improve the execution speed by storing processed data in the cache and then using it in subsequent requests instead of re-creating the data on every request.</li>
<li><strong><a href="http://docs.php.net/manual/en/wincache.sessionhandler.php">WinCache Session Handler</a></strong> can be used to configure PHP to store the session data in shared memory cache. Using shared memory instead of the default file session storage helps improve performance of PHP applications that store large amount of data in session objects. The content of the WinCache session cache is persisted on disk so that it is not lost during IIS worker process recycling.</li>
<li><strong>File Change Notifications</strong> – the entries in the opcode and file caches are now updated as soon as the corresponding PHP files are modified on a file system. This is very useful for PHP applications that store its configuration in PHP files – for example Joomla!. Now the configuration changes for those applications take effect right away instead of a 30 seconds delay (default cache refresh interval).</li>
<li><a href="http://us3.php.net/manual/en/function.wincache-lock.php"><strong>Lock/Unlock API’s</strong></a> – these API’s can be used to obtain/release an exclusive lock on a key in the cache.</li>
</ul>
<h3>Install the Windows Cache Extension 1.1 for PHP – RTW</h3>
<p>To install the WinCache Extension 1.1 for PHP 5.2 and PHP 5.3, use the download links at the extension’s home page at <a href="http://www.iis.net/expand/WinCacheForPhp">http://www.iis.net/expand/WinCacheForPhp</a>.<span id="more-784"></span></p>
<p>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 previous version of the extension installed, then Web PI will upgrade it. If you install any PHP application by using Web PI then the WinCache Extension 1.1 for PHP will be offered as an optional component.</p>
<p>If you install the extension manually, then follow the instructions at <a href="http://us2.php.net/manual/en/wincache.setup.php">Installing/Configuring WinCache for PHP</a>.</p>
<h3>Getting the extension source code</h3>
<p>The source code for the extension is available at <a href="http://pecl.php.net/package/WinCache/1.1.0stable">http://pecl.php.net/package/WinCache/1.1.0stable</a>. For the instructions on how to build the extension yourself refer to <a href="http://us2.php.net/manual/en/wincache.win32build.php">Building WinCache Extension</a>.</p>
<h3>Getting support</h3>
<p>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:</p>
<ul>
<li>To get help with installation, configuration and usage – <a href="http://www.php.net/wincache/">WinCache documentation on php.net</a>;</li>
<li>To ask questions about the extension – <a href="http://forums.iis.net/1164.aspx">WinCache forum on iis.net</a>;</li>
<li>To report a bug in the extension – <a href="http://pecl.php.net/bugs/">PECL bug tracking system</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ruslany.net/2010/06/wincache-extension-1-1-for-php-release-to-web/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WinCache Extension 1.1 for PHP &#8211; Beta 2</title>
		<link>http://ruslany.net/2010/04/wincache-extension-1-1-for-php-beta-2/</link>
		<comments>http://ruslany.net/2010/04/wincache-extension-1-1-for-php-beta-2/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 18:03:01 +0000</pubDate>
		<dc:creator>ruslany</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WinCache]]></category>
		<category><![CDATA[IIS News Item]]></category>

		<guid isPermaLink="false">http://ruslany.net/?p=755</guid>
		<description><![CDATA[Today IIS team has published a second beta of WinCache 1.1, which has the following new features and improvements : File Change Notifications &#8211; the entries in the opcode and file caches are now updated as soon as the corresponding PHP files are modified on a file system. This is very useful for PHP applications [...]]]></description>
			<content:encoded><![CDATA[<p>Today IIS team has published a <a href="http://www.iis.net/download/WinCacheForPhp">second beta of WinCache 1.1</a>, which has the following new features and improvements :</p>
<ul>
<li><strong>File Change Notifications</strong> &#8211; the entries in the opcode and file caches are now updated as soon as the corresponding PHP files are modified on a file system. This is very useful for PHP applications that store its configuration in PHP files – for example Joomla!. Now the configuration changes for those applications take effect right away instead of a 30 seconds delay (default cache refresh interval);</li>
<li><a href="http://docs.php.net/manual/en/wincache.sessionhandler.php"><strong>Persistent Session Handler</strong></a> &#8211; the content of the WinCache session cache is persisted on disk so that it is not lost during IIS worker process recycling.</li>
<li><a href="http://us3.php.net/manual/en/function.wincache-lock.php"><strong>Lock/Unlock API’s</strong></a> – these API’s can be used to obtain/release an exclusive lock on a key in the cache.</li>
</ul>
<p>The beta builds of the extension can be downloaded and installed from the extension home page at: <a href="http://www.iis.net/expand/wincacheforphp">http://www.iis.net/expand/wincacheforphp</a> (look for the “<strong>WinCache 1.1 – Beta 2</strong>” section there). The source code can be obtained from <a title="http://pecl.php.net/package/WinCache/1.1.0beta2" href="http://pecl.php.net/package/WinCache/1.1.0beta2">http://pecl.php.net/package/WinCache/1.1.0beta2</a>. The documentation for the extension can be found on <a href="http://www.php.net/manual/en/book.wincache.php">PHP.NET WinCache documentation</a>.</p>
<p>To learn how to change popular PHP applications to use WinCache 1.1 features refer to the following:</p>
<ul>
<li><a href="http://blogs.iis.net/donraman/archive/2010/03/05/performance-improvement-in-joomla-using-wincache-user-cache.aspx">Performance Improvement in Joomla using WINCACHE user cache</a></li>
<li><a href="http://blogs.iis.net/donraman/archive/2010/03/15/performance-improvements-in-drupal-with-wincache-user-cache.aspx">Performance Improvement in Drupal using WINCACHE user cache</a></li>
<li><a href="http://ruslany.net/2010/03/make-wordpress-faster-on-iis-with-wincache-1-1/">Make WordPress faster on IIS with Wincache 1.1</a></li>
</ul>
<p>This is the beta release and the WinCache team is looking for your feedback on new features and functionality. Use the <a href="http://forums.iis.net/1164.aspx">WinCache Community Forum</a> to ask questions about the extension, report bugs and problems and to suggest features and improvements.</p>
]]></content:encoded>
			<wfw:commentRss>http://ruslany.net/2010/04/wincache-extension-1-1-for-php-beta-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slides and Questions from PHP on Windows Webcast</title>
		<link>http://ruslany.net/2010/04/slides-and-questions-from-php-on-windows-webcast/</link>
		<comments>http://ruslany.net/2010/04/slides-and-questions-from-php-on-windows-webcast/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 19:11:56 +0000</pubDate>
		<dc:creator>ruslany</dc:creator>
				<category><![CDATA[FastCGI]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WinCache]]></category>

		<guid isPermaLink="false">http://ruslany.net/?p=737</guid>
		<description><![CDATA[On April 9, Mark Brown and I did a PHP&#124;Architect webcast “PHP Performance On Windows”. The slides from the presentation have been published at the following link: PHP Performance on Windows – slides There were a number of question at the end of the webcast that we did not get to answer due to lack [...]]]></description>
			<content:encoded><![CDATA[<p>On April 9, <a href="http://blogs.msdn.com/markbrown/">Mark Brown</a> and I did a PHP|Architect webcast “PHP Performance On Windows”. The slides from the presentation have been published at the following link:</p>
<p><a href="http://www.slideshare.net/ruslany/php-performance-on-windows">PHP Performance on Windows – slides</a></p>
<p>There were a number of question at the end of the webcast that we did not get to answer due to lack of time. This blog post provides answers to those questions.<span id="more-737"></span></p>
<p><strong>Q: Why is php_mssql.dll removed from php 5.3.2?<br />
</strong>A: The reason why it was removed was because of an incompatible driver. The last SDK supported by Microsoft was not compatible anymore with VC6. Anyway, php_mssql.dll is not recommended to be used with SQL Server because there is a SQL Driver for PHP that is officially supported by Microsoft. You can get more information about the driver at <a href="http://blogs.iis.net/donraman/archive/2010/01/25/working-with-microsoft-sql-server-driver-php-sqlsrv-dll-for-php-on-windows.aspx">Working with Microsoft SQL Server driver (php_sqlsrv.dll) for PHP on Windows</a>.</p>
<p><strong>Q: How can we have .htaccess file features work on IIS? Is there an alternative?<br />
</strong>A: There are several options. If you just want Apache mod_rewrite rules to work on IIS, then you can <a href="http://learn.iis.net/page.aspx/470/import-apache-modrewrite-rules/">import them from a .htaccess file</a>. If you want complete support for all .htaccess features then you can try <a href="http://www.helicontech.com/ape/">Helicon Ape</a> from HeliconTech. Regarding PHP specific features in .htaccess file &#8211; for PHP 5.2 you could use htscanner PECL extension. In PHP 5.3 there is a new feature for <a href="http://ruslany.net/2009/07/per-site-php-configuration-with-php-5-3-and-iis/">per directory PHP configuration and .user.ini files</a>.</p>
<p><strong>Q: Do you have any numbers to compare iis performance with other web servers(apache, nginx, lighttpd)?<br />
</strong>A: No, we do not have any numbers that can be shared. It’s difficult to come up with an objective test that compares web server technologies – there are too many variables and interpretations of the results and even if Microsoft ever produced such numbers they would probably cause a lot of controversy over the objectivity of those tests.</p>
<p><strong>Q: Do you plan to implement wincache library for Zend Framework(Zend_Cache)?<br />
</strong>A: WinCache team does not have plans for that, but there is already a PHP developer who is working on implementing this: <a href="http://github.com/juokaz/wincache">http://github.com/juokaz/wincache</a>.</p>
<p><strong>Q: We have discussed here sugar CRM. Is Microsoft planning to do enhancement in sugar CRM functionality?</strong><br />
A: Microsoft works well with Sugar CRM development team and Sugar CRM add enhancements to their future versions to support new features from Microsoft, such as WinCache user and session cache for example. Microsoft, however does not contribute any code and does not work directly on any enhancements to Sugar CRM.</p>
<p><strong>Q: Is Microsoft planning to develop any dll which can make PHP code to Intermediate language?</strong><br />
A: Assuming that the question is about .NET intermediate language &#8211; no, there are no plans for this.</p>
<p><strong>Q: Would there be any tool in Microsoft development tool kit for PHP?<br />
</strong>A: There are several projects in Microsoft that provide development tools and instructions for enabling interoperability between PHP and other Microsoft technologies. You can find more details about those projects here: <a href="http://www.interoperabilitybridges.com/">http://www.interoperabilitybridges.com/</a>.</p>
<p><strong>Q: Is WinCache shared data accessible for CLI? Script A launches Script B, C and D &#8230; ?<br />
</strong>A: Yes, you can access the shared data from CLI as long as you set wincache.enablecli = 1 in php.ini and all the CLI processes have the same parent process.</p>
<p><strong>Q: Are the statistics results of WinCache the same in 5.2.13 as in 5.3?<br />
</strong>A: If the question is about wincache.php statistics script then yes – the data presented by that script is the same regardless of the PHP version.</p>
<p><strong>Q: Are there any security concerns with having wincache store session data in shared memory?</strong><br />
A: If you use different IIS application pools for different web sites (which is the recommended configuration), then WinCache ensures that those web sites can not access each other’s cache data. All caches, not just the session cache are not shared across IIS application pools.</p>
<p><strong>Q: Is it safe to write to the user cache assuming data disappears from the system after the cache times out? Is the content of the user cache in wincache 1.1 written to disk at all?<br />
</strong>A: Normally the data in the user cache is deleted from the cache after the time to live interval, but the deletion happens on the main request processing thread. This means that if there are no requests to process, the entries in the cache may stay longer than the TTL. WinCache does not write user cache content to disk, but if memory pagefile is enabled on the server, then it may happen that the memory content will be stored by OS in a pagefile. If a maching (not just a process) crashes when user cache content is in the pagefile, then the content may be present on disk.</p>
<p><strong>Q: Is the sqlsrv driver going to be compatible with PDO?<br />
</strong>A: <a href="http://blogs.msdn.com/interoperability/archive/2010/04/19/sql-server-driver-for-php-2-0-ctp-adds-php-s-pdo-style-data-access-for-sql-server.aspx">SQL Driver for PHP 2.0</a> will include PDO support.</p>
<p><strong>Q: Is there any documentation on securely configuring php/FastCGI in a shared application pool environment on IIS6 so that websites?<br />
</strong>A: Check the article about <a href="http://www.php.net/manual/en/install.windows.iis6.php">setting up PHP on IIS6</a> and look for the section called “Impersonation and file system access”. If this is not what you are looking for – let me know.</p>
<p><strong>Q: When are we going to see PHP 5.3 in the WPI?<br />
</strong>A: Web PI team is planning to add support for PHP 5.3 in near future. Most probably it will be possible to select which version of PHP to install from Web PI. This is because there are some PHP applications in Web PI that will never support PHP 5.3.</p>
<p>Thanks to all who has attended the webcast and asked interesting questions!</p>
]]></content:encoded>
			<wfw:commentRss>http://ruslany.net/2010/04/slides-and-questions-from-php-on-windows-webcast/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

