phpup2
rpm -qa | grep php
rpm -e --test epel-release-6-8.noarch
error: Failed dependencies:
epel-release = 6 is needed by (installed) remi-release-6.8-1.el6.remi.noarch
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
[root@cnserver2 yum.repos.d]# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
warning: /var/tmp/rpm-tmp.NYfav8: Header V3 RSA/SHA256 Signature key ID 0608b895: NOKEY
Preparing... ########################################### [100%]
package epel-release-6-8.noarch is already installed
[root@cnserver2 yum.repos.d]#
[root@cnserver2 yum.repos.d]#
[root@cnserver2 yum.repos.d]# rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Retrieving http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
warning: /var/tmp/rpm-tmp.xbhxSc: Header V4 DSA/SHA1 Signature key ID 00f97f56: NOKEY
Preparing... ########################################### [100%]
package remi-release-6.8-1.el6.remi.noarch is already installed
[root@cnserver2 yum.repos.d]#
■phpバージョンアップ
1
# yum info php
2
# yum repolist all
3
[root@cnserver2 yum.repos.d]# rpm -e --test epel-release-6-8.noarch
error: Failed dependencies:
epel-release = 6 is needed by (installed) remi-release-6.8-1.el6.remi.noarch
[root@cnserver2 yum.repos.d]#
4
[root@cnserver2 yum.repos.d]# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
warning: /var/tmp/rpm-tmp.NYfav8: Header V3 RSA/SHA256 Signature key ID 0608b895: NOKEY
Preparing... ########################################### [100%]
package epel-release-6-8.noarch is already installed
[root@cnserver2 yum.repos.d]#
[root@cnserver2 yum.repos.d]#
5
[root@cnserver2 yum.repos.d]# rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Retrieving http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
warning: /var/tmp/rpm-tmp.xbhxSc: Header V4 DSA/SHA1 Signature key ID 00f97f56: NOKEY
Preparing... ########################################### [100%]
package remi-release-6.8-1.el6.remi.noarch is already installed
6
# yum --enablerepo=epel remi info php
7
# yum install php php-common --enablerepo=remi remi-php56
8
# yum install php-mysqlnd php-mbstring php-gd php-pdo php-gd php-xml --enablerepo=remi remi-php56
9
# yum install --enablerepo=remi gd-last
10
# yum install libmcrypt --enablerepo=epel
11
# yum install php-mcrypt --enablerepo=remi remi-php56
12
# sudo service httpd restart
---------------------------
CentOSのバージョンは、/etc/redhat-releaseファイル
$ cat /etc/redhat-release
$ cat /etc/issue
[root@cnserver2 yum.repos.d]# cat /etc/redhat-release
CentOS release 6.8 (Final)
[root@cnserver2 yum.repos.d]# php -v
PHP 5.6.27 (cli) (built: Oct 14 2016 14:06:54)
yum --enablerepo=epel remi info php
yum install php php-common --enablerepo=remi remi-php56
yum install php-mysqlnd php-mbstring php-gd php-pdo php-gd php-xml --enablerepo=remi remi-php56
yum install --enablerepo=remi gd-last
yum install libmcrypt --enablerepo=epel
yum install php-mcrypt --enablerepo=remi remi-php56
ここ参考になった
http://qiita.com/zaburo/items/fd67b294c610d54c3aee
http://dev.classmethod.jp/server-side/rpm-reverse-search/
-----------------------------------------------------------
・単体テストケースカラムにこれいれる
・input radio select
・favicon fawao
・api version