# Install the dependencies
yum remove php php-cli php-common php-gd php-mysql php-pdo php-xml
yum list | grep installed | grep php
yum install php php-cli php-common php-gd php-mysql php-pdo php-xml php-mbstring php-pecl-json
yum remove php php-cli php-common php-gd php-mysql php-pdo php-xml php-mbstring php-pecl-json
# php 5.2.7 需要加装下面的repo
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
#includepkgs=php*
[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://yum.jasonlitka.com/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://yum.jasonlitka.com/RPM-GPG-KEY-jlitka
没有评论:
发表评论