caching - Wincache using with php -


i'm using wincache store value persistent. i'm using below code store value

 $newhighlowarray = array();     //high low calculation    if(wincache_ucache_exists("highlow")) {         $existhighlowarray = wincache_ucache_get("highlow");         $isexist = true;         $newhighlowarray = /* calculations*/;     }      wincache_ucache_set("highlow", $newhighlowarray); 

i need store value without time expire, update cache every second because of value changes in stock market.

but cache clear of time , time happening 500 internal server error time getting clear cache.how store value persistent out clear cache. please anyone.

my hosting server windows server iis7

by default, wincache_ucache_set function uses ttl=0, means entry should never expired.

to insight, should check in php_errors log when 500 internal server error. there should information on why request failed.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -