I installed Redis extension from here. My console see redis installed, when I run php -i
I see
redis
Redis Support => enabled
Redis Version => 2.2.7
When I try to create instance of Redis class I get Fatal error: Uncaught Error: Class 'Redis' not found
.
phpinfo()
shows thay my php.ini
file is in /usr/local/php5/lib/php.ini
.
I found solution here buy it doesn't work. I also copied extension path from php-cli ini
.
All extension paths which I tried to use are:
- extension = redis.so
- extension = /usr/local/php5/lib/php/extensions/no-debug-non-zts-20151012/redis.so
- extension = /usr/local/opt/php55-redis/redis.so
Could anyone help me?