位置 : 首页 > 经验分享 > LINUX > RHEL / CentOS yum安装phpredis

RHEL / CentOS yum安装phpredis

时间:2018-05-18   收藏
1,yum install php-pecl-redis 2# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpmRHEL / CentOS yum安装phpredis

RHEL / CentOS  yum安装phpredis 


1,yum install php-pecl-redis  发现啥也没安装

1.png





2,

Extra Packages for Enterprise Linux (EPEL)

Welcome to the home of the EPEL Special Interest Group.


Quickstart

Package-x-generic-16.pngepel-release-latest-6

Package-x-generic-16.pngepel-release-latest-7

You may retrieve signed binary configuration files from one the above two links (varying by the major release number of the installation target machine). They may be automatically installed by root thus:


RHEL/CentOS 6:

   # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

RHEL/CentOS 7:

   # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

on RHEL 7 it is recommended to also enable the optional and extras repositories since EPEL packages may depend on packages from these repositories:

   # subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"

2.png


3,再次yum install php-pecl-redis

3.png


keywords: RHEL CentOS yum 安装 phpredis


    浏览排行榜
    最新文字信息
返回顶部 关注新浪微博 关注腾讯微博