wincache

Laravel + Wincache on MS Azure: Not storing values

*爱你&永不变心* 提交于 2021-02-19 05:32:38
问题 I am running a PHP application on azure and am experiencing some strange behaviour: This snippet runns in a Console command: public function fire(Illuminate\Contracts\Cache\Repository $cache) { $cache->forever('someKey', 'someValue'); var_dump($cache->get('someKey')); } The output is: NULL Accessing the value through wincache_ucache_get after executing the command also returns NULL (with prefix and without). Has anyone a clue on this? P.S.: As per phpinfo() the wincache usercache is enabled: