ubuntu implementation of php plus redis extensions on ubuntu systems
- 2020-06-19 12:28:39
- OfStack
ubuntu system for php plus redis extension implementation
A recent project,, wants to use redis as the database,php does not need to be extended to redis, must be installed, how to install? I found a lot of materials on the Internet are precompiled, but did not succeed, so I found another way is not need to compile directly install it.
Install the redis extension
sudo apt-get install git-core
After installation, restart nginx, php5-ES19en,
Restart nginx
sudo /etc/init.d/nginx restart
Restart php5 - fmp
sudo /etc/init.d/php5-fpm restart
phpinfo shows on the page:
reids to see if there is
php To operate redis you must also install the redis client
sudo apt-get install redis-server
You can experience it now.
Line, to sleep, but also get up tomorrow to grab tickets, the Spring Festival home, life is like this, decided, will go without hesitation to pursue, sometimes the dream, it seems that always so far away, bite ah, stick to it, 1 cut connect well.
If you have any questions, please leave a message or go to this site community exchange discussion, thank you for reading, hope to help you, thank you for your support to this site!