wincache php ini

Eugene Ruthven, 2017-Nov-06

Windows 10/IIS 10/PHP Version 7.1.7/MSVC14 (Visual C++ 2015)

wincache

File cache enabled
Version 2.0.0.8
Owner iisphp@microsoft.com
Build Date Nov 14 2016 10:15:45

php.ini settings
Directive Local Value Master Value Default Min Max Changeable Note New
Value
1 wincache.apppoolid no value no value not
found
2 wincache.chkinterval 30 30 found 30 0 300 PHP_INI_SYSTEM how often (in seconds) the extension checks for file changes in order to refresh the cache. Setting it to 0 will disable the refreshing of the cache. The file changes will not be reflected in the cache unless the cache entry for that file is removed by scavenger or IIS application pool is recycled or wincache_refresh_if_changed function is called
3 wincache.debuglevel 0 0 not
found
4 wincache.enablecli Off Off found 0 0 1 PHP_INI_SYSTEM if caching is enabled when PHP is running in command line (CLI) mode
5 wincache.fcachesize 2424 found 24 5 255 PHP_INI_SYSTEM the maximum memory size (in megabytes) that is allocated for the file cache. If the total size of all the cached files exceeds the value specified in this setting, then most stale files will be removed from the file cache 2017-Nov-06
0900
255
2017-Nov-06
1009
FastCGI error again
trace mentioned NT AUTHORITY\IUSR
added DESKTOP-M9NG2C3\IUSR with Full Control to folder where php_wincache.dll was located
restarted pc
2017-Nov-06
1624
FastCGI error again
\include\utils.php line 3915 Use of undefined constant JSON_LOOSE_TYPE - assumed 'JSON_LOOSE_TYPE' seems to be occurring at the same time
applied fix - added defined check
2017-Nov-07
1331
FastCGI error again
saw 0xc0000005 error, used:
DISM.exe /Online /Cleanup-image /Restorehealth and sfc /scannow
restarted
2017-Nov-07
1616
FastCGI error again
6 wincache.fcenabled On On found 1 0 1 PHP_INI_ALL Enables or disables the file cache functionality.
7 wincache.fcenabledfilter no value no value found "NULL" "NULL" "NULL" PHP_INI_SYSTEM
8 wincache.fcndetect On On found 1 0 1 PHP_INI_SYSTEM Enables or disables the file change notification detection functionality. If file change notification is supported then it will be used to refresh the opcode and file cache entries as soon as the corresponding files are modified on a file system. If file change notification is not supported, for example when using network file shares, then wincache will poll for file changes at regular time intervals specified by wincache.chkinterval
9 wincache.filecount 4096 4096 found 4096 1024 16384 PHP_INI_SYSTEM how many files are expected to be cached by the extension, so that appropriate memory size is allocated at the startup time. If the number of files exceeds the specified value, the WinCache will re-allocate more memory as needed 2017-Nov-07
1616
increased to 16384
restarted
2017-Nov-07
1831
FastCGI error again
wincache involved
10 wincache.filemapdir no value no value found "NULL" "NULL" "NULL" PHP_INI_SYSTEM
11 wincache.ignorelist no value no value found "NULL" "NULL" "NULL" PHP_INI_ALL
12 wincache.localheap 0 0 not
found
13 wincache.maxfilesize 256 256 found 256 10 2048 PHP_INI_SYSTEM the maximum allowed size (in kilobytes) for a single file to be cached. If a file size exceeds the specified value, the file will not be cached. This setting applies to the file cache only. 2017-Nov-07
1831
increased to 2048
restarted
2017-Nov-07
1857
FastCGI error again
14 wincache.namesalt no value no value found "NULL" "NULL" "NULL" PHP_INI_SYSTEM
15 wincache.reroute_enabled Off Off found 1 0 1 PHP_INI_SYSTEM | PHP_INI_PERDIR Enables or disables the rerouting of certain file I/O functions through the file cache
16 wincache.scachesize 8 8 found 8 5 85 PHP_INI_SYSTEM the maximum memory size in megabytes that is allocated for the session cache. If the total size of data stored in the session cache exceeds the specified value, then the most stale data will be removed from the cache 2017-Nov-07
1857
increased to 85
restarted
2017-Nov-08
0731
FastCGI error again - wincache again
17 wincache.ttlmax 1200 1200 found 1200 0 7200 PHP_INI_SYSTEM the maximum time to live (in seconds) for a cached entry without being used. Setting it to 0 will disable the cache scavenger, so the cached entries will never be removed from the cache during the lifetime of the IIS worker process 2017-Nov-08
1900
increased to 3600
restarted
2017-Nov-08
1920
FastCGI error again - wincache again
18 wincache.ucachesize 8 8 found 8 5 85 PHP_INI_SYSTEM the maximum memory size in megabytes that is allocated for the user cache. If the total size of variables stored in the user cache exceeds the specified value, then the most stale variables will be removed from the cache 2017-Nov-08
1931
increased to 85
restarted
19 wincache.ucenabled On On found 1 0 1 PHP_INI_SYSTEM Enables or disables the user cache functionality