PHP74 Remi软件源安装向导
2022/8/6 1:23:55
本文主要是介绍PHP74 Remi软件源安装向导,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
PHP74 Remi软件源安装向导
- Remi's RPM repository 官网
- http://rpms.remirepo.net/
- 国内清华镜像
- https://mirrors.tuna.tsinghua.edu.cn/remi/
仓库设置和php安装向导
- https://rpms.remirepo.net/wizard/
- 向导系统设置
设置方法
-
RHEL 7 provides PHP version
5.4
in its official repository -
Command to install the
EPEL
repository configuration package:yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
-
Command to install the
Remi
repository configuration package:yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm
-
Command to install the
yum-utils
package (for the yum-config-manager command):yum install yum-utils
-
On RHEL you (probably) need to enable the
optional
channel for some dependencies. -
Command to enable:
subscription-manager repos --enable=rhel-7-server-optional-rpms
-
You want a
single version
which means replacing base packages from the distribution -
Packages have the same name than the base repository, ie
php-*
-
Some common dependencies are available in
remi-safe
repository, which is enabled by default -
PHP version
7.4
packages are available forRHEL 7
inremi-php74
repository -
Command to enable the repository
yum-config-manager --disable 'remi-php*' yum-config-manager --enable remi-php74
-
You can check the list of the enabled repositories:
yum repolist
-
If the priorities plugin is enabled, ensure remi-php74 have higher priority (a lower value) than base and updates
-
Command to upgrade (the repository only provides PHP):
yum update
-
Command to install
additional
packages:yum install php-xxx
-
Command to install testing packages:
yum --enablerepo=remi-php74-test install php-xxx
-
Command to check the installed version and available extensions:
php --version php --modules
这篇关于PHP74 Remi软件源安装向导的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-11开源 PHP 商城项目 CRMEB 二次开发和部署教程
- 2024-11-09怎么使用php在kaufland平台刊登商品?-icode9专业技术文章分享
- 2024-11-05PHP的抽象类和接口是什么,有什么区别-icode9专业技术文章分享
- 2024-11-01开源 PHP 商城项目 CRMEB 安装和使用教程
- 2024-11-01用php和mysql写无限分类,有哪几种方法-icode9专业技术文章分享
- 2024-10-31php数据分表导出时部分数据无法导出什么原因-icode9专业技术文章分享
- 2024-10-30有经验的 PHP 开发者学习一门新的编程语言,有哪些推荐的有前景的语言-icode9专业技术文章分享
- 2024-10-21php 检测图片是否篡改过-icode9专业技术文章分享
- 2024-10-20fruitcake/php-cors 该怎么使用-icode9专业技术文章分享
- 2024-10-18PHP7.1可以使用哪个版本的swoole-icode9专业技术文章分享