A recent project, want to use Redis as a database, PHP is not the redis extension, must be installed, how to install it? I find a lot of information on the internet is pre-compiled, but did not succeed, so I looked for another method is not required to compile the direct installation can be
After installation, restart Nginx, PHP5-FPM,
Re-start Nginx
Sudo/etc/init.d/nginx restart
Restart PHP5-FMP
SUDO/ETC/INIT.D/PHP5-FPM Restarty
Phpinfo is displayed on the webpage:
Reids See if there is
A Redis client must also be installed by the PHP operation Redis to
sudo apt-get install Redis-server
Now it's time to experience it.
OK, to sleep, tomorrow to get up to rob the tickets, the Spring Festival home, life is so, decided, it is necessary to pursue, sometimes dream, seems always so far away, bite ah, stick down, everything.
-----------------------Beijing Haidian