wordpress에 redis 연동시키기

wordpress에 redis 연동시키기

Status: Not connected
Client: predis
Drop-in: Valid
Disabled: No
Ping: 
Connection Exception: ERR unknown command 'SENTINEL', with args beginning with: 'slaves' '마스터 서버이름'  (Predis\Response\ServerException)
Errors: [
    "ERR unknown command 'SENTINEL', with args beginning with: 'slaves' '\ub9c8\uc2a4\ud130 \uc11c\ubc84\uc774\ub984' "
]
PhpRedis: Not loaded
Relay: Not loaded
Predis: 2.1.1
Credis: Not loaded
PHP Version: 8.0.26
Plugin Version: 2.2.4
Redis Version: Unknown
Multisite: No
Metrics: Disabled
Metrics recorded: 0
Filesystem: Working
Global Prefix: "wp_"
Blog Prefix: "wp_"
WP_REDIS_CLIENT: "predis"
WP_REDIS_DATABASE: 0
WP_REDIS_TIMEOUT: 1
WP_REDIS_READ_TIMEOUT: 1
WP_REDIS_SERVERS: [
    "tcp://192.168.6.4:6001",
    "tcp://192.168.6.4:6002",
    "tcp://192.168.6.4:6003"
]
WP_REDIS_SENTINEL: "마스터 서버이름"
WP_REDIS_PLUGIN_PATH: "/var/www/sample/wp-content/plugins/redis-cache"
WP_REDIS_PASSWORD: ••••••••
Global Groups: [
    "blog-details",
    "blog-id-cache",
    "blog-lookup",
    "global-posts",
    "networks",
    "rss",
    "sites",
    "site-details",
    "site-lookup",
    "site-options",
    "site-transient",
    "users",
    "useremail",
    "userlogins",
    "usermeta",
    "user_meta",
    "userslugs",
    "redis-cache"
]
Ignored Groups: [
    "counts",
    "plugins",
    "themes",
    "blog-details",
    "blog-id-cache",
    "blog-lookup",
    "global-posts",
    "networks",
    "rss",
    "sites",
    "site-details",
    "site-lookup",
    "site-options",
    "site-transient",
    "users",
    "useremail",
    "userlogins",
    "usermeta",
    "user_meta",
    "userslugs",
    "redis-cache",
    "blog_meta",
    "theme_json",
    "wordfence",
    "wordfence-ls"
]
Unflushable Groups: []
Groups Types: {
    "blog-details": "ignored",
    "blog-id-cache": "ignored",
    "blog-lookup": "ignored",
    "global-posts": "ignored",
    "networks": "ignored",
    "rss": "ignored",
    "sites": "ignored",
    "site-details": "ignored",
    "site-lookup": "ignored",
    "site-options": "ignored",
    "site-transient": "ignored",
    "users": "ignored",
    "useremail": "ignored",
    "userlogins": "ignored",
    "usermeta": "ignored",
    "user_meta": "ignored",
    "userslugs": "ignored",
    "redis-cache": "ignored",
    "counts": "ignored",
    "plugins": "ignored",
    "themes": "ignored",
    "blog_meta": "ignored",
    "theme_json": "ignored",
    "wordfence": "ignored",
    "wordfence-ls": "ignored"
}
Drop-ins: [
    "Redis Object Cache Drop-In v2.2.4 by Till Krüss"
]
apk –no-cache add pcre-dev ${PHPIZE_DEPS} \
&& pecl install redis \
&& docker-php-ext-enable redis \
&& apk del pcre-dev ${PHPIZE_DEPS} \
&& rm -rf /tmp/pear

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다