PHP 5.3 and PHPRedis were installed on the server, the usual code on the pages is <?php $redis = new Redis(); $redis->connect('127.0.0.1', 6379); <?php $redis = new Redis(); $redis->connect('127.0.0.1', 6379); Everything worked fine. For technical needs, I had to switch to 5.5, but when I load the page it now shows:
Fatal error: Class 'Redis' not found Moreover, the PHP version in the console remained 5.3, and the page opens in 5.5. Accordingly, the command in the console itself: php -r "if (new Redis() == true){ echo \"\r\n OK \r\n\"; }" does not give an error. What can I do, reinstall phpredis again, or can I register something?