1.安装epel源

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

2.安装Remi仓库

yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

3.安装yum管理工具

yum -y install yum-utils

4.yum安装php

yum-config-manager --enable remi-php70    #制定php包版本
yum install php-fpm php-mysql php-curl php-gd php-mbstring php-mcrypt php-xml php-xmlrpc php-zip    #安装php及相关组件

 

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-12-04
  • 2021-09-14
  • 2021-06-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-09
  • 2021-12-04
  • 2021-05-31
  • 2021-10-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案