There are two ways to check the redis version in the Linux environment
redis-server –version and redis-server -v
The result obtained is: Redis server v=3.0.7 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=c4d3f2c7214375c6
redis-cli –version and redis-cli -v
The result obtained is: redis-cli 3.0.7
Strictly speaking: the result obtained through redis-cli should be redis-cli version, but redis-cli and redis-server are generally compiled from the same source code. So it should be the same.
The latest version of Redis
Redis is generally downloaded and installed using: http://download.redis.io/redis-stable.tar.gz
Download the latest version of redis-stable.tar.gz, decompress the package and install it for use;
In the redis-stable directory after installation, you can see the 00-RELEASENOTES file, which contains the currently used Redis version information, as well as update and modification records of historical versions.
For more Redis-related technical articles, please visit the Redis Tutorial column to learn!
The above is the detailed content of How to check redis version. For more information, please follow other related articles on the PHP Chinese website!