0

I'm trying to install phpredis on mac using php 5.6. I run the following commands:

1. git clone https://www.github.com/phpredis/phpredis.git
2. cd phpredis
3. phpize && ./configure && make && sudo make install

But when I run the command 3 I get the following error:

In file included from /Users/user1/phpredis/redis.c:25:
In file included from ./php_redis.h:20:
./common.h:12:10: fatal error: 'zend_smart_str.h' file not found
#include <zend_smart_str.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [redis.lo] Error 1

There's another way to install it?

tc9900
  • 31
  • 4

1 Answers1

0

from github you can use ``pecl as another way to install it.

But it also define some command you could run if there is error when install link

GrenierJ
  • 1,145
  • 8
  • 18