I've installed Redis on my ubuntu 14 server with phpredis extension. Im using Nginx server. I have php testing script
$redis=new Redis() or die("Cannot load Redis module.");
$redis->connect('localhost');
$redis->set('random', rand(5000,6000));
echo $redis->get('random');
which is working fine from command-line but not from web browser.
Nginx error log:
[info] 31102#0: Using 32768KiB of shared memory for push module in /etc/nginx/nginx.conf:82
[error] 31108#0: *21 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class 'Redis' not found in...
i can't see it even in phpinfo()
all installed with apt-get install
all other modules (mysql, imagemagick...) are working fine
i've spent few hours on google but haven't found nothing useful