6

在centos 7中使用yum安装php 7

 2 years ago
source link: https://qidizi.github.io/CentOS-7-%E5%AE%89%E8%A3%85-php-7.x/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

在centos 7中使用yum安装php 7

启用该源即可:yum -y install centos-release-scl.noarch
配置文件路径在:/etc/opt/rh/
要执行脚本:/opt/rh/rh-php72/register来注册/opt/rh/rh-php72/register.content/usr/lib/systemd/system/rh-php72-php-fpm.service,才能使用service来控制,这个行为应该在安装时会自动处理了
启用自动开机启动:systemctl enable rh-php72-php-fpm
具体描述见centos官方(HowTos)[https://wiki.centos.org/HowTos/php7]

发表于 2019.11.12 14:50:24

前篇:centos 7开机提示selinux规则加载失败解决方案

后篇:elasticsearch 随记(基于mac ox)


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK