Windows Server 2008 R2 + IIS + 64 位元 PHP 5.5 環境需啟用 WinCache 加速。官網(iis.net)僅提供 32 位元版本,32 位元 DLL 在 64 位元 PHP 中無法載入,應用程式池設為 32 位元模式亦無效。
發現波蘭開發者網站提供完整版本:
下載網址:https://dev.freshsite.pl/php-accelerators/wincache.html
提供 x86/x64、PHP 5.4~7.0、VC11/VC14、TS/NTS 完整組合。
WinCache 1.3.5 for PHP 5.5 x64 NTS VC11


php_wincache.dllext 目錄php.ini:
extension=php_wincache.dll wincache.enabled=1 wincache.ocenabled=1 ; 操作碼快取 wincache.fcenabled=1 ; 檔案快取 wincache.ucenabled=1 ; 使用者快取 wincache.scachesize=64 ; 會話快取大小(MB)
iisresetphp -m | findstr wincache 或 phpinfo() 檢查
本站整理打包:點此下載 64 位 WinCache (PHP 5.5/5.6)(含 NTS/TS 版本)
phpinfo() 中的 Compiler(VC11/VC14)、Thread Safety、Architecture (x86/x64) 三項參數