Le comportement de ces fonctions est affecté par la configuration dans le fichier php.ini.
Le tableau suivant répertorie et explique les paramètres de configuration fournis par l'extension WinCache :
| Nom | Défaut | Minimum | Maximum | Modifiable | Historique | 
|---|---|---|---|---|---|
| wincache.fcenabled | "1" | "0" | "1" | PHP_INI_ALL | Disponible depuis WinCache 1.0.0 | 
| wincache.fcenabledfilter | "NULL" | "NULL" | "NULL" | PHP_INI_SYSTEM | Disponible depuis WinCache 1.0.0 | 
| wincache.fcachesize | "24" | "5" | "255" | PHP_INI_SYSTEM | Disponible depuis WinCache 1.0.0 | 
| wincache.fcndetect | "1" | "0" | "1" | PHP_INI_SYSTEM | Disponible depuis WinCache 1.1.0 | 
| wincache.maxfilesize | "256" | "10" | "2048" | PHP_INI_SYSTEM | Disponible depuis WinCache 1.0.0 | 
| wincache.ocenabled | "1" | "0" | "1" | PHP_INI_ALL | Disponible depuis WinCache 1.0.0. Supprimé depuis 2.0.0.0 | 
| wincache.ocenabledfilter | "NULL" | "NULL" | "NULL" | PHP_INI_SYSTEM | Disponible depuis WinCache 1.0.0. Supprimé depuis 2.0.0.0 | 
| wincache.ocachesize | "96" | "15" | "255" | PHP_INI_SYSTEM | Disponible depuis WinCache 1.0.0. Supprimé depuis 2.0.0.0 | 
| wincache.filecount | "4096" | "1024" | "16384" | PHP_INI_SYSTEM | Disponible depuis WinCache 1.0.0 | 
| wincache.chkinterval | "30" | "0" | "300" | PHP_INI_SYSTEM | Disponible depuis WinCache 1.0.0 | 
| wincache.ttlmax | "1200" | "0" | "7200" | PHP_INI_SYSTEM | Disponible depuis WinCache 1.0.0 | 
| wincache.enablecli | 0 | 0 | 1 | PHP_INI_SYSTEM | Disponible depuis WinCache 1.0.0 | 
| wincache.ignorelist | NULL | NULL | NULL | PHP_INI_ALL | Disponible depuis WinCache 1.0.0 | 
| wincache.namesalt | NULL | NULL | NULL | PHP_INI_SYSTEM | Disponible depuis WinCache 1.0.0 | 
| wincache.ucenabled | 1 | 0 | 1 | PHP_INI_SYSTEM | Disponible depuis WinCache 1.1.0 | 
| wincache.ucachesize | 8 | 5 | 85 | PHP_INI_SYSTEM | Disponible depuis WinCache 1.1.0 | 
| wincache.scachesize | 8 | 5 | 85 | PHP_INI_SYSTEM | Disponible depuis WinCache 1.1.0 | 
| wincache.rerouteini | NULL | NULL | NULL | PHP_INI_SYSTEM | Disponible depuis WinCache 1.2.0. Retiré dans la version 1.3.7 | 
| wincache.reroute_enabled | 1 | 0 | 1 | PHP_INI_SYSTEM | PHP_INI_PERDIR | Disponible depuis WinCache 1.3.7 | 
| wincache.srwlocks | 1 | 0 | 1 | PHP_INI_SYSTEM | Disponible depuis WinCache 1.3.6.3. Supprimé depuis la version 2.0.0.0 | 
| wincache.filemapdir | NULL | NULL | NULL | PHP_INI_SYSTEM | Disponible depuis WinCache 1.3.7.4 | 
Voici un éclaircissement sur l'utilisation des directives de configuration.
wincache.fcenabled
     bool
    wincache.fcenabledfilter
     string
    wincache.fcenabled : Si wincache.fcenabled
      est réglé à 1, alors les sites listés dans wincache.fcenabledfilter
      auront le cache de fichiers désactivé; si wincache.fcenabled 
      est réglé à 0, alors les sites listés dans wincache.fcenabledfilter
      auront le cache de fichiers activé.
     
    wincache.fcachesize
     int
    wincache.fcndetect
     bool
    wincache.chkinterval.
     
    wincache.maxfilesize
     int
    wincache.ocenabled
     bool
    Cette option a été SUPPRIMEE depuis la version 2.0.0.0
wincache.ocenabledfilter
     string
    Cette option a été SUPPRIMEE depuis la version 2.0.0.0
wincache.ocenabled : Si wincache.ocenabled
      est réglé à 1, alors les sites listés dans wincache.ocenabledfilter
      auront le cache opcode désactivé; si wincache.ocenabled 
      est réglé à 0, alors les sites listés dans wincache.ocenabledfilter
      auront le cache opcode activé.
     
    wincache.ocachesize
     int
    Cette option a été SUPPRIMEE depuis la version 2.0.0.0
wincache.filecount
     int
    wincache.chkinterval
     int
    wincache.ttlmax
     int
    wincache.enablecli
     bool
    wincache.ignorelist
     string
    Définit une liste de fichiers qui ne doivent pas être mis en cache par l'extension. La liste des fichiers est spécifiée en utilisant des noms de fichiers uniquement, séparés par le symbole pipe - "|".
Exemple #1 wincache.ignorelist exemple
wincache.ignorelist = "index.php|misc.php|admin.php"
wincache.namesalt
     string
    wincache.ucenabled
     bool
    wincache.ucachesize
     int
    wincache.scachesize
     int
    wincache.rerouteini
     string
    
      Cette option a été SUPPRIMEE depuis la versio 1.3.7.
      Voir wincache.reroute_enabled pour des fonctionnalités
      similaires depuis la version 1.3.7.
      
wincache.reroute_enabled
     bool
    wincache.srwlocks
     bool
    Cette option a été SUPPRIMEE depuis la version 2.0.0.0
wincache.filemapdir
     string