开发者

Predis Class '\Predis\Commands\StringSetExpire' not found

I have a very odd predis error:

Class '\Predis\Commands\StringSetExpire' not found in <b>/Users/charlie/Sites/Admin/predis/lib/Predis/Profiles/ServerProfile.php</b>

It happens when I try to use the following code:

setex($this->get_cache_key(), (60 * 60 * 24 * 30), $serialized);

The file exists. I change 开发者_JS百科directory to that exact location and I open a valid file. So, I feel that my paths are correct. I am trying to use an AJAX command to set the key, value in the redis database. What's weird is when I execute the php file from the terminal using "php filename", it doesn't throw an error at all.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜