search

Home  >  Q&A  >  body text

MAC 如何XAMPP安装redis?

求帮助。。
目前找不到方法

PHP中文网PHP中文网2797 days ago543

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-24 09:12:45

    Installing the redis extension requires compiling it yourself

    https://github.com/phpredis/phpredis This is the project address. After you download the source code, unzip it and go to its directory

    The command is probably the following one, there are a lot of them in Baidu
    phpize
    ./configure
    make
    sudo make install

    Please note that the php related items in /usr/bin are soft-linked to the php program under xampp. Otherwise, the default is the php that comes with mac

    You may also need the source code of php and some packages such as autoconf need to be installed

    reply
    0
  • Cancelreply