[CentOS 6.8] php 5.5 설치하기 > 기술자료 | 해피정닷컴

[CentOS 6.8] php 5.5 설치하기 > 기술자료

본문 바로가기

사이트 내 전체검색

[CentOS 6.8] php 5.5 설치하기 > 기술자료

PHP [CentOS 6.8] php 5.5 설치하기

페이지 정보


본문

1. epel-relase 설치
[root@localhost /]# rpm -qa | grep remi-release
[root@localhost /]# rpm -qa | grep epel-release


2. remi-release 설치
[root@localhost /]# yum install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
... (생략)
===========================================================================================
 Package              Arch           Version                 Repository               Size
===========================================================================================
Installing:
 remi-release         noarch         6.8-2.el6.remi          /remi-release-6         7.6 k
Installing for dependencies:
 epel-relase          noarch          6.8                       extras                       14k

Transaction Summary
===========================================================================================
Install       2 Package(s)

Total size: 22 k
Total dowonload size: 14 k
Installed size: 29 k
Is this ok [y/N]: y
... (생략)
Installed:
  remi-release.noarch 0:6.8-2.el6.remi

Dependency Installed:
  epel-release.noarch 0:6-8

Complete!


3. 설치 확인
[root@localhost /]# rpm -qa | grep remi-release
remi-release-6.8-2.el6.remi.noarch

[root@localhost /]# yum list remi-release
... (생략)
Installed Packages
remi-release.noarch                     6.8-2.el6.remi                     @/remi-release-6

[root@localhost /]# yum repolist | grep remi
 * remi-safe: mirror.mediatemple.net
remi-safe                  Safe Remi's RPM repository for Enterprise Linux 6 - x86_64    1,756


4. php 버전 확인
[root@localhost /]# rpm -qa | grep php
php5.3.3-48.el6_8.x86_64
[root@localhost /]# rpm -qa | grep remi-release
remi-release-6.8-2.el6.remi.noarch


5. php 5.5 설치
[root@localhost /]# yum --enablerepo=remi-php55 install php
... (생략)
================================================================================
 Package            Arch       Version                     Repository      Size
================================================================================
Installing:
 php-mysqlnd        x86_64     5.5.38-7.el6.remi           remi-php55     272 k
     replacing  php-mysql.x86_64 5.3.3-48.el6_8
Updating:
 php                x86_64     5.5.38-7.el6.remi           remi-php55     2.7 M
Installing for dependencies:
 gd-last            x86_64     2.2.4-1.el6.remi            remi-safe      126 k
 libwebp            x86_64     0.4.3-3.el6                 epel           210 k
 libzip-last        x86_64     1.1.3-1.el6.remi            remi-safe       42 k
 php-pecl-jsonc     x86_64     1.3.10-2.el6.remi.5.5       remi-php55      52 k
 php-pecl-zip       x86_64     1.13.5-1.el6.remi.5.5       remi-php55      53 k
 t1lib              x86_64     5.1.2-6.el6_2.1             base           160 k
Updating for dependencies:
 php-cli            x86_64     5.5.38-7.el6.remi           remi-php55     3.9 M
 php-common         x86_64     5.5.38-7.el6.remi           remi-php55     1.0 M
 php-gd             x86_64     5.5.38-7.el6.remi           remi-php55      78 k
 php-mbstring       x86_64     5.5.38-7.el6.remi           remi-php55     968 k
 php-pdo            x86_64     5.5.38-7.el6.remi           remi-php55     119 k

Transaction Summary
================================================================================
Install       7 Package(s)
Upgrade       6 Package(s)

Total download size: 6.9 M
Installed size: 27 M
Is this ok [y/N]: y


... (생략)
Installed:
  php.x86_64 0:5.5.6-1.el6.remi                                                                     

Dependency Installed:
  php-cli.x86_64 0:5.5.38-7.el6.remi                 php-common.x86_64 0:5.5.38-7.el6.remi
  php-gd.x86_64 0:5.5.38-7.el6.remi               php-mbstring.x86_64 0:5.5.38-7.el6.remi
  php-pdo.x86_64 0:5.5.38-7.el6.remi

Replaced:
  php-mysql.x86_64 0:5.3.3-48.el6_8

Complete!


6. php 설치 확인
[root@localhost /]# rpm -qa | grep php
php-pear-1.9.4-5.el6.noarch
php-common-5.5.38-7.el6.remi.x86_64
php-5.5.38-7.el6.remi.x86_64
php-pecl-jsonc-1.3.10-2.el6.remi.5.5.x86_64
php-cli-5.5.38-7.el6.remi.x86_64
php-mysqlnd-5.5.38-7.el6.remi.x86_64
php-mbstring-5.5.38-7.el6.remi.x86_64
php-pecl-zip-1.13.5-1.el6.remi.5.5.x86_64
php-pdo-5.5.38-7.el6.remi.x86_64
php-gd-5.5.38-7.el6.remi.x86_64


7. php 버전 확인
[root@localhost /]# php -v
PHP 5.5.38 (cli) (built: Feb 18 2017 08:33:29) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies


8. 아파치 재시작
[root@localhost /]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName
                                                           [  OK  ]


관련자료
http://zetawiki.com/wiki/CentOS_6에_PHP_5.5_설치 

댓글목록

등록된 댓글이 없습니다.


Total 2,634건 37 페이지
  • RSS
기술자료 목록
1914
APP   32445  2017-03-08 13:27 ~ 2022-07-08 10:58  
1913
그누보드   19894  2017-03-07 23:56 ~ 2022-05-10 11:20  
1912
그누보드   17289  2017-03-04 22:50 ~ 2019-12-12 05:41  
1911
WindowsServer   11785  2017-03-04 04:58  
1910
WindowsServer   18443  2017-03-04 04:17  
1909
WindowsServer   10347  2017-03-04 02:47  
1908
WindowsServer   14033  2017-03-03 18:55  
1907
PHP   11531  2017-03-01 22:49  
1906
Linux   12431  2017-02-28 01:06  
열람
PHP   16732  2017-02-27 22:30  
1904
PHP   13448  2017-02-27 19:09 ~ 2020-11-13 14:44  
1903
Linux   26993  2017-02-24 22:50 ~ 2019-12-30 06:46  
1902
Linux   57462  2017-02-24 19:55 ~ 2019-12-24 00:35  
1901
PHP   15885  2017-02-24 16:12  
1900
Linux   16279  2017-02-24 13:32  
1899
MySQL   17097  2017-02-23 22:51 ~ 2018-01-10 01:41  
1898
MySQL   24631  2017-02-23 19:28 ~ 2018-01-10 00:00  
1897
Linux   16254  2017-02-23 19:22 ~ 2018-07-08 02:22  
1896
MySQL   45751  2017-02-23 18:31 ~ 2018-01-10 06:13  
1895
Linux   11195  2017-02-22 23:57  

검색

해피정닷컴 정보

회사소개 회사연혁 협력사 오시는길 서비스 이용약관 개인정보 처리방침

회사명: 해피정닷컴   대표: 정창용   전화: 070-7600-3500   팩스: 042-670-8272
주소: (34368) 대전시 대덕구 대화로 160 대전산업용재유통단지 1동 222호
개인정보보호책임자: 정창용   사업자번호: 119-05-36414
통신판매업신고: 제2024-대전대덕-0405호 [사업자등록확인]  
Copyright 2001~2024 해피정닷컴. All Rights Reserved.