Update ocp-install.sh

main
denny 2023-09-13 18:52:22 +00:00
parent 61888085f6
commit ed4da8c294
1 changed files with 2 additions and 1 deletions

View File

@ -62,6 +62,7 @@ ocp_config="[
wp config set WP_REDIS_CONFIG "$ocp_config" --raw wp config set WP_REDIS_CONFIG "$ocp_config" --raw
wp config set WP_REDIS_DISABLED false --raw wp config set WP_REDIS_DISABLED false --raw
wp redis enable
# free redis object cache config # free redis object cache config
#wp config set WP_REDIS_CLIENT 'relay' #wp config set WP_REDIS_CLIENT 'relay'
@ -70,6 +71,6 @@ wp config set WP_REDIS_DISABLED false --raw
#wp config set WP_REDIS_PATH '/var/run/redis/redis.sock' #wp config set WP_REDIS_PATH '/var/run/redis/redis.sock'
#wp config set WP_REDIS_PORT 0 --raw #wp config set WP_REDIS_PORT 0 --raw
#wp config set WP_REDIS_DATABASE 0 --raw #wp config set WP_REDIS_DATABASE 0 --raw
#wp redis enable
wp cache flush wp cache flush