tangyumeng
V2EX  ›  问与答

『PHP』mac 下配置 redis

  •  
  •   tangyumeng · Sep 1, 2014 · 4374 views
    This topic created in 4449 days ago, the information mentioned may be changed or developed.
    [mac配置redis](http://levi.cg.am/archives/2887)

    mac下是用php + redis ,方法网上说的大概差不多。执行完后,在php文件中访问Redis 类,提示

    Fatal error: Class 'Redis' not found in xxxxx.php on line xx
    2 replies  •  2014-09-01 21:12:37 +08:00
    Sunyanzi
    Sunyanzi
    Sep 1, 2014
    1
    你的 php-redis 扩展没有正确加载 ...
    xi4oh4o
    xi4oh4o
    Sep 1, 2014
    2
    pecl install redis
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1739 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 62ms · UTC 15:55 · PVG 23:55 · LAX 07:55 · JFK 10:55
    ♥ Do have faith in what you're doing.