RHEL / CentOS yum安装phpredis

<p>RHEL / CentOS yum安装phpredis</p><p>1,yum install php-pecl-redis 发现啥也没安装</p><p>图<img src="/up_pic/201805/181058448304.png" title="181058448304.png" alt="1.png"/></p><p>2,</p><p>Extra Packages for Enterprise Linux (EPEL)</p><p>Welcome to the home of the EPEL Special Interest Group.</p><p>Quickstart</p><p>Package-x-generic-16.pngepel-release-latest-6</p><p>Package-x-generic-16.pngepel-release-latest-7</p><p>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:</p><p>RHEL/CentOS 6:</p><p> # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm</p><p>RHEL/CentOS 7:</p><p> # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm</p><p>on RHEL 7 it is recommended to also enable the optional and extras repositories since EPEL packages may depend on packages from these repositories:</p><p> # subscription-manager repos --enable &quot;rhel-*-optional-rpms&quot; --enable &quot;rhel-*-extras-rpms&quot;</p><p><img src="/up_pic/201805/181058538316.png" title="181058538316.png" alt="2.png"/></p><p>3,再次yum install php-pecl-redis</p><p><img src="/up_pic/201805/181058582104.png" title="181058582104.png" alt="3.png"/></p>
RangeTime:0.005870s
RangeMem:205.13 KB
返回顶部 留言