Warning: Redis::pconnect(): connect() failed: Connection refused in /var/www/html/practizen/html/riayati/Vendor/cakephp/cakephp/lib/Cake/Cache/Engine/RedisEngine.php on line 90

Fatal error: Uncaught CacheException: Cache engine "default" is not properly configured. Ensure required extensions are installed, and credentials/permissions are correct in /var/www/html/practizen/html/riayati/Vendor/cakephp/cakephp/lib/Cake/Cache/Cache.php:186 Stack trace: #0 /var/www/html/practizen/html/riayati/Vendor/cakephp/cakephp/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine('default') #1 /var/www/html/practizen/html/riayati/app/Config/core.php(374): Cache::config('default', Array) #2 /var/www/html/practizen/html/riayati/Vendor/cakephp/cakephp/lib/Cake/Core/Configure.php(72): include('/var/www/html/p...') #3 /var/www/html/practizen/html/riayati/Vendor/cakephp/cakephp/lib/Cake/bootstrap.php(432): Configure::bootstrap(true) #4 /var/www/html/practizen/html/riayati/app/webroot/index.php(112): include('/var/www/html/p...') #5 {main} thrown in /var/www/html/practizen/html/riayati/Vendor/cakephp/cakephp/lib/Cake/Cache/Cache.php on line 186