ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • php 5.5 버전 업그레이드 할때 No package php55w.x86_64 available 시
    개발/server 2016. 9. 2. 10:20

    centos 7.x

    rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm

    rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm


    centos 6.x

    rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm


    centos 5.x 


    rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm





    현재 설치되어 있는 php 패키지 확인

    yum list installed | grep php



    php-cli.x86_64 5.4.16-36.3.el7_2 @updates php-common.x86_64 5.4.16-36.3.el7_2 @updates php-gd.x86_64 5.4.16-36.3.el7_2 @updates php-ldap.x86_64 5.4.16-36.3.el7_2 @updates php-mbstring.x86_64 5.4.16-36.3.el7_2 @updates php-mysql.x86_64 5.4.16-36.3.el7_2 @updates php-odbc.x86_64 5.4.16-36.3.el7_2 @updates php-pdo.x86_64 5.4.16-36.3.el7_2 @updates php-pear.noarch 1:1.9.4-21.el7 @base php-process.x86_64 5.4.16-36.3.el7_2 @updates php-snmp.x86_64 5.4.16-36.3.el7_2 @updates php-soap.x86_64 5.4.16-36.3.el7_2 @updates php-xml.x86_64 5.4.16-36.3.el7_2 @updates php-xmlrpc.x86_64 5.4.16-36.3.el7_2 @updates





    설치된 패키지들을 삭제

    yum remove php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mysql.x86_64 php-odbc.x86_64 php-pdo.x86_64 php-pear.noarch php-process.x86_64 php-snmp.x86_64 php-soap.x86_64 php-xml.x86_64 php-xmlrpc.x86_64




    php5.5를 설치

    yum install php55w.x86_64 php55w-cli.x86_64 php55w-common.x86_64 php55w-gd.x86_64 php55w-ldap.x86_64 php55w-mbstring.x86_64 php55w-mysql.x86_64 php55w-odbc.x86_64 php55w-pdo.x86_64 php55w-pear.noarch php55w-process.x86_64 php55w-snmp.x86_64 php55w-soap.x86_64 php55w-xml.x86_64 php55w-xmlrpc.x86_64




    service httpd restart




    php -v


    PHP 5.5.38 (cli) (built: Jul 21 2016 12:25:20)

    Copyright (c) 1997-2015 The PHP Group

    Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies



    '개발 > server' 카테고리의 다른 글

    filebeat offset 초기화  (0) 2021.07.01
    HA Push Server 구성하기 (아키텍처편)  (0) 2020.03.17
    리눅스 ip 고정설정  (0) 2016.08.22
    centos 에서 no package nginx available  (0) 2016.07.18
    리눅스 weget 다운로드 실패시  (0) 2016.07.17
Designed by Tistory.