ITPub博客

首页 > IT职业 > IT职场 > yum 安装 php5.3

yum 安装 php5.3

IT职场 作者:胡扯 时间:2021-09-09 09:34:00 0 删除 编辑


今天从  atomicorp.com  安装 php5.3

1、安装  repository key

To enable access to both the atomic yum repository use the following automated installer:

>wget -q -O - http://www.atomicorp.com/installers/atomic | sh


2、创建新的 yum 源

>vim /etc/yum.repos.d/CentOS-Atomicorp.repo

内容如下:

[atomic]
name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com
mirrorlist = http://www.atomicorp.com/mirrorlist/atomic/centos-5-$basearch
#mirrorlist = http://www.atomicorp.com/channels/atomic/centos/5/mirrors-atomic
enabled = 1
priority = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
gpgcheck = 1

#Almost Stable, release candidates for [atomic]
[atomic-testing]
name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com - (Testing)
mirrorlist = http://www.atomicorp.com/mirrorlist/atomic-testing/centos-5-$basearch
enabled = 0
priority = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
gpgcheck = 1

#Untested, Unstable, known buggy, and incomplete packages.
#[atomic-bleeding]
#name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com - (Bleeding)
#baseurl = http://www.atomicorp.com/channels/atomic-bleeding/centos/5/$basearch/
#enabled = 0
#priority = 1
#protect = 0
#gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
#gpgcheck = 1


3、安装 php

>yum install php


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/166/viewspace-2804758/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-04-11

  • 博文量
    0
  • 访问量
    499