Hello I'm having problems installing phpredis on module on my webuzo VPS server.
I installed redis server, and its working link charm. redis-cli ping returns pong. So I tried and installed phpredis module and tried this from ssh:
php -r "if (new Redis() == true){ echo \"\r\n OK \r\n\"; }"
It returns OK, so that is I beleive OK.
The problem is that when I use the same command from my PHP file it returns Unknown class Redis. So I tried php -m from ssh and it returned that redis is loaded.
So I made new php file which lists enabled php modules:
vasictech.net/api/mod.php
Redis is not there.
So then I tried php -i on sshand I noticed that PHP version is 5.3.3, and when I try phpinfo() in a php file on server:
vasictech.net/api/info.php
It returns that version is 5.4.34
So than I added redis.so to /usr/local/apps/php54/ext/
and added extension=redis.so to /usr/local/apps/php54/etc/php.ini
And it still not loading... How can I fix this :/