hello aaPanel_Kern ,
if set like this in php script
$redis = new Redis();
$redis->connect("/var/run/redis/redis.sock");
$redis->auth('password');
redis.conf
unixsocket /var/run/redis/redis.sock
unixsocketperm 775
i get this error. how to fix it?
Fatal error: Uncaught RedisException: Permission denied in /www/wwwroot/domain.com/config.php:64 Stack trace: #0 /www/wwwroot/domain.com/config.php(64): Redis->connect('/var/run/redis/...') #1 /www/wwwroot/domain.com/panel/init.php(2): require_once('/www/wwwroot/pl...') #2 /www/wwwroot/domain.com/panel/index.php(8): require_once('/www/wwwroot/xxx...') #3 {main} thrown in /www/wwwroot/domain.com/config.php on line 64