The Windows Cache Extension 1.0 for PHP- 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 - RC
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 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 - RC will be offered as an optional component.
The extension can only be used with non-thread-safe builds of PHP
The extension can only be used when IIS is configured to run PHP via FastCGI
The Windows Cache Extension 1.0 for PHP 5.3 can only be used with the x86 VC9 build of PHP 5.3.
Changes since the beta release
Here are the features that are new since the beta release:
New API to refresh the cached files. If your PHP application updates some PHP files (for example files with configuration settings
or template files) and then needs to load those files on a next request then this API can be used to refresh the cache for those files.
Disabling the file change checking. The Windows Cache Extension periodically checks if the cached files have been changed on
a file system. By default the check happens every 30 seconds. If you do not expect the PHP files for your application to ever change then you can disable this check.
Enabling or disabling the opcode cache on a per-site basis. The new configuration setting
wincache.ocenabledfilter can be used in conjunction with
wincache.ocenabled to specify a comma-separated list of IIS web site identifiers that should have the opcode caching enabled or disabled.
Disabling the cache when PHP is run in command line mode. By default the cache will be disabled when PHP scripts are executed
in a command line mode (CLI). If necessary the cache can be turned on by using the configuration setting
wincache.enablecli.
Total cache uptime information. The API's wincache_fcache_fileinfo() and wincache_ocache_fileinfo() now also
report the total cache uptime.
Cache statistics web page. The RC installation package includes a PHP script that can be used to get
the cache statistics.
Here are the bugs that have been fixed in this release:
The same file was getting included twice even when include_once/require_once was used. Some PHP applications didn’t work due to this bug.
Crashes caused by the file cache component which did not cache zero-size files properly.
A bug in opcode cache caused the PHP code to be recompiled every time.
One bug caused opcode cache’s total hit count to be negative after first request. Also hit count of different file entries in file cache was one more than expected.
PHP warning/errors caching sometimes caused next successful request to return HTTP 500 response.
ruslany
900 Posts
Microsoft
Moderator
Windows Cache Extension 1.0 for PHP - Release Candidate
Oct 20, 2009 05:42 AM|LINK
The Windows Cache Extension 1.0 for PHP- 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 - RC
To install the Windows Cache Extension for PHP 5.2 and PHP 5.3, use the download links at the extension's home page at http://www.iis.net/extensions/wincacheforphp.
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 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 - RC will be offered as an optional component.
If you install the extension manually, then follow the instructions at "Using Windows Cache Extension for PHP".
Note:
Changes since the beta release
Here are the features that are new since the beta release:
Here are the bugs that have been fixed in this release:
More information