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?