ubuntu redis php installation

I saw a lot of incorrect installations, so I googled and found one installation was successful.

  1. First install redis
sudo apt-get install redis-server

This is to install redis

  1. Install extension
sudo apt-get install php5-redis

This is to install the php redis extension

  1. Restart fpm
sudo service php5-fpm restart
  1. Open phpinfo() and check the installation is successful.

There is no need to be so troublesome on the Internet at all, so if you are programming, please Google more.

reference:

How to Install PHP Redis on Ubuntu

Recommended Posts

ubuntu redis php installation
Redis installation under ubuntu and windows
UBUNTU 16.04 installation diary
ubuntu 1804 installation details
Ubuntu system installation
Ubuntu installation record
ubuntu 18.04 installation (UEFI+GBT)
ubuntu installation error
How to secure Redis installation on Ubuntu 14.04
Manual for Ubuntu Installation
Install Redis on Ubuntu
Ubuntu16.04 installation partition settings
Ubuntu offline installation package
Ubuntu introduction and installation
ubuntu nice font installation
LNMP installation under Ubuntu
Redis3 installation under Centos7
Ubuntu CEPH quick installation
foreman ubuntu16 quick installation
Ubuntu 17.10 installation toss record
Ubuntu dual system installation
Github Project-OpenPose installation on Ubuntu
Ubuntu 16.04 compile and install PHP 7.2
Redis cluster installation under CentOS
ubuntu view python installation path
Ubuntu16.04 installation and simple configuration
Detailed ubuntu 20.04 LTS installation record
Redis cluster installation under CentOS
CSI Tools installation Intel 5300 + Ubuntu 14.04
ubuntu19.04 installation tutorial (graphic steps)
Ubuntu PostgreSQL installation and configuration
ubuntu offline installation python environment
Happy installation of Jenkins in ubuntu
Virtual machine Linux Ubuntu installation tutorial
VMware Ubuntu installation detailed process (pro-test)
Installation of deb package under Ubuntu
Ubuntu16.04 build php5.6 Web server environment
ubuntu20.04 Chinese input method installation steps
Ubuntu18 super detailed common software installation
Ubuntu 20.04 Shuangpin input method installation steps
How to upgrade to PHP 7 on Ubuntu 14.04
Ubuntu 20.04 CUDA&cuDNN installation method (graphic tutorial)
Installation instructions for gitlab in Ubuntu
Ubuntu 16.04 installation graphic tutorial under VMware 12
Ubuntu 19.1 installation and configuration Chinese environment
Ubuntu16.04 real-time kernel RT Preempt installation
Installation of Docker CE under Ubuntu
Configuration and beautification after Ubuntu installation (1)
Nginx installation and configuration load (ubuntu12.04)
Ubuntu18.04 installation Anaconda3 and VSCode guide
Configure ring after installation on Ubuntu 16.04
Ubuntu configuration source and installation software
Docker CE for Ubuntu installation notes
ubuntu Docker installation and deployment of Rancher
Ubuntu installation and deployment Redash operation notes (2020.08)
Ubuntu Intel graphics driver installation (Ubuntu 14.04--Ubuntu 16.10 + Intel® Graphics Update Tool)
Ubuntu18.04 system installation and prerequisite software installation guide
How to optimize Tomcat installation on Ubuntu 14.04
Installation and configuration of redis under centos7
Installation and uninstallation of CUDA under Ubuntu 16.04
Ubuntu18.04 Server version installation and use (graphic)