In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to install the redis extension on linux. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
How does linux install the redis extension?
Linux how to install the redis extension:
1. Download the php-redis expansion package first.
2. After unpacking and unpacking, enter the directory, and you can see the following:
3. Execute the phpize command under the php installation directory in this directory (if you don't know the phpize path, you can use whereis phpize query)
4. There will be one more configure file in the directory.
5. Now it can be configured.-- with-php-config tells the location where the extension needs to be installed, and automatically configures the compiler for us (in case of an error, autoconf may not be installed, just execute the following yum install autoconf)
If you report an error
Install GCC to yum install gcc-y
6. Compile make
7. Compile and execute make install
After installation, prompt the directory where the extension is placed, and you will find the redis.so extension when you enter the directory.
9. Modify the php.ini file and add the following information
Or go to the / etc/php.d directory to create a redis.ini file
10. Restart the server after saving and exiting. View phpinfo () information
It shows that the load is successful.
This is the end of the way to install the redis extension on linux. I hope the above content can be of some help to you and learn more. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
Docker-compose.ymlversion: '3.7'services: elasticsearch: container_name: elasticsearch image:
© 2024 shulou.com SLNews company. All rights reserved.