| 开发者 | ethitter |
|---|---|
| 更新时间 | 2022年7月17日 06:26 |
| 捐献地址: | 去捐款 |
| PHP版本: | 5.6 及以上 |
| WordPress版本: | 6.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
WP Redis User Session Storage and was renamed
to comply with WordPress.org naming constraints. The previous class name is
aliased to support existing extensions.
mu-plugins.127.0.0.1:6379. See the Connecting to Redis section for further options.By default, the plugin uses 127.0.0.1 and 6379 as the default host and port, respectively, when creating a new client instance; the default database of 0 is also used.
Specify any of the following constants to set the necessary, non-default connection values for your Redis instance:
WP_REDIS_USER_SESSION_HOST - Hostname or IP of the Redis server, defaults to 127.0.0.1.WP_REDIS_USER_SESSION_PORT - Port of the Redis server, defaults to 6379.WP_REDIS_USER_SESSION_SOCKET - Path to a Unix socket file for the Redis server, if available. Takes precedence over the port value when set.WP_REDIS_USER_SESSION_AUTH - Password for the Redis server, if required.WP_REDIS_USER_SESSION_DB - Database number to use for the Redis server, defaults to 0.WP_REDIS_USER_SESSION_SERIALIZER - Serializer to use for the Redis server, defaults to Redis::SERIALIZER_PHP.