After the development environment installs php-redis.dll, why can you use redis?

1. Why can redis? be used after php-redis.dll is installed in the development environment
is this redis the client?
2. What is the role of the redis server in the online environment? Manage redis data or something?
3. This question has been searched on the Internet, but I can"t find a satisfactory answer. Ask for a great answer

.
Mar.15,2021

redis will get redis-server and redis-cli after successful installation;
redis-server is used to store data;
redis-cli is a client that is used to connect to redis-server and then add, delete, modify and query under the command line;
php-redis.dll is an extension for PHP to connect to redis-server and then add, delete, modify and query.

is this understood?


Service software is generally divided into server and client, and the server is naturally installed on the server to store and manage resources. Generally speaking, the term redis refers to redis server software (redis-server)

the client is the software that the user uses to connect to the server. After the client connects to the server, it can manipulate the resources stored on the server. The client of redis defaults to redis-cli, on the command line. There are also some redis clients with graphical interfaces. In fact, the client of the graphical interface is also the encapsulation of the commands of the command line client.

and php_redis.dll, this is a redis extension of php, which is essentially a series of functions written by C language for php to operate redis, which has the extension .so under the linux system.

take svn as another example. The svn server is installed on the server, and the svn repository is naturally stored on the server. The tortoise in
windows is the graphical interface client of svn. You can delete and change the files in the svn repository on the server by clicking the mouse and other operations. Since there is no need for php to operate svn, there is no extension like php-svn.dll. If the author wants to play, he can also write such an extension in C language.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32bb5-2be35.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32bb5-2be35.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?