I hope this is the correct subforum. Just move this post if there's a more appropriate subforum. My question is pure about IIS- and PHP performance. If the IIS module FileCacheModule is enabled, what benefits do PHP configuration settings like wincache.fcachesize
and/or realpath_cache_size have? It looks like they do exactly the same, or something (very) similar. Wouldn't it decrease overall performance to set all three options? My idea is, it is best to start caching as soon as possible, so either FileCacheModule
(in IIS) or WinCache (wincache.fcachesize). Yet, some PHP applications (like "ZOO" by YOOtheme for instance) require an increased realpath_cache_size. What's your opinion about this? Regards, Jan Reilink
JanReilink
35 Posts
IIS 7.5 + PHP (5.3/5.4) performance: FileCacheModule versus WinCache wincache.fcachesize versus P...
Nov 07, 2012 06:35 PM|LINK
PHP FastCGI IIS 7.5 wincache FileCacheModule
Vevida Services - worry-free webhosting: http://vevida.com
Mamba Dai - ...
651 Posts
Microsoft
Re: IIS 7.5 + PHP (5.3/5.4) performance: FileCacheModule versus WinCache wincache.fcachesize vers...
Nov 12, 2012 07:24 AM|LINK
Hi,
The FileCacheModule is requried for Output Cache of IIS. It provides user mode caching for files and file handles.
wincache.fcachesize is one setting in Windows Cache extension to define the maximum memory size (in megabytes) that is allocated for the file cache.
For realpah_cache_size, it may be out of IIS.
Check this article about Use the Windows Cache Extension for PHP :
http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/use-the-windows-cache-extension-for-php
And this article about How to Configure and Optimize the Microsoft Web Platform for PHP mentioned the cache for php, it may help you:
http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/how-to-configure-and-optimize-the-microsoft-web-platform-for-php
Feedback to us
Develop and promote your apps in Windows Store