PHP [CentOS 6.8] PHP 5.3.3 을 yum 으로 설치하기
페이지 정보
본문
1. php 설치 확인
[root@localhost /]# php --version
2. yum 으로 php 설치
[root@localhost /]# yum install php
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: www.ftp.ne.jp
* extras: www.ftp.ne.jp
* updates: www.ftp.ne.jp
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-48.el6_8 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-48.el6_8 for package: php-5.3.3-48.el6_8.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.3.3-48.el6_8 for package: php-5.3.3-48.el6_8.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.3.3-48.el6_8 will be installed
--> Processing Dependency: libedit.so.0()(64bit) for package: php-cli-5.3.3-48.el6_8.x86_64
---> Package php-common.x86_64 0:5.3.3-48.el6_8 will be installed
--> Running transaction check
---> Package libedit.x86_64 0:2.11-4.20080712cvs.1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
php x86_64 5.3.3-48.el6_8 updates 1.1 M
Installing for dependencies:
libedit x86_64 2.11-4.20080712cvs.1.el6 base 74 k
php-cli x86_64 5.3.3-48.el6_8 updates 2.2 M
php-common x86_64 5.3.3-48.el6_8 updates 530 k
Transaction Summary
================================================================================
Install 4 Package(s)
Total download size: 3.9 M
Installed size: 13 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): libedit-2.11-4.20080712cvs.1.el6.x86_64.rpm | 74 kB 00:00
(2/4): php-5.3.3-48.el6_8.x86_64.rpm | 1.1 MB 00:00
(3/4): php-cli-5.3.3-48.el6_8.x86_64.rpm | 2.2 MB 00:00
(4/4): php-common-5.3.3-48.el6_8.x86_64.rpm | 530 kB 00:00
--------------------------------------------------------------------------------
Total 13 MB/s | 3.9 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-common-5.3.3-48.el6_8.x86_64 1/4
Installing : libedit-2.11-4.20080712cvs.1.el6.x86_64 2/4
Installing : php-cli-5.3.3-48.el6_8.x86_64 3/4
Installing : php-5.3.3-48.el6_8.x86_64 4/4
Verifying : php-common-5.3.3-48.el6_8.x86_64 1/4
Verifying : php-cli-5.3.3-48.el6_8.x86_64 2/4
Verifying : libedit-2.11-4.20080712cvs.1.el6.x86_64 3/4
Verifying : php-5.3.3-48.el6_8.x86_64 4/4
Installed:
php.x86_64 0:5.3.3-48.el6_8
Dependency Installed:
libedit.x86_64 0:2.11-4.20080712cvs.1.el6 php-cli.x86_64 0:5.3.3-48.el6_8
php-common.x86_64 0:5.3.3-48.el6_8
Complete!
3. 설치된 php 확인
[root@localhost /]# php --version
PHP 5.3.3 (cli) (built: Aug 11 2016 20:33:53)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
관련자료
https://www.cmsfactory.net/node/10165
[root@localhost /]# php --version
2. yum 으로 php 설치
[root@localhost /]# yum install php
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: www.ftp.ne.jp
* extras: www.ftp.ne.jp
* updates: www.ftp.ne.jp
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-48.el6_8 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-48.el6_8 for package: php-5.3.3-48.el6_8.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.3.3-48.el6_8 for package: php-5.3.3-48.el6_8.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.3.3-48.el6_8 will be installed
--> Processing Dependency: libedit.so.0()(64bit) for package: php-cli-5.3.3-48.el6_8.x86_64
---> Package php-common.x86_64 0:5.3.3-48.el6_8 will be installed
--> Running transaction check
---> Package libedit.x86_64 0:2.11-4.20080712cvs.1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
php x86_64 5.3.3-48.el6_8 updates 1.1 M
Installing for dependencies:
libedit x86_64 2.11-4.20080712cvs.1.el6 base 74 k
php-cli x86_64 5.3.3-48.el6_8 updates 2.2 M
php-common x86_64 5.3.3-48.el6_8 updates 530 k
Transaction Summary
================================================================================
Install 4 Package(s)
Total download size: 3.9 M
Installed size: 13 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): libedit-2.11-4.20080712cvs.1.el6.x86_64.rpm | 74 kB 00:00
(2/4): php-5.3.3-48.el6_8.x86_64.rpm | 1.1 MB 00:00
(3/4): php-cli-5.3.3-48.el6_8.x86_64.rpm | 2.2 MB 00:00
(4/4): php-common-5.3.3-48.el6_8.x86_64.rpm | 530 kB 00:00
--------------------------------------------------------------------------------
Total 13 MB/s | 3.9 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-common-5.3.3-48.el6_8.x86_64 1/4
Installing : libedit-2.11-4.20080712cvs.1.el6.x86_64 2/4
Installing : php-cli-5.3.3-48.el6_8.x86_64 3/4
Installing : php-5.3.3-48.el6_8.x86_64 4/4
Verifying : php-common-5.3.3-48.el6_8.x86_64 1/4
Verifying : php-cli-5.3.3-48.el6_8.x86_64 2/4
Verifying : libedit-2.11-4.20080712cvs.1.el6.x86_64 3/4
Verifying : php-5.3.3-48.el6_8.x86_64 4/4
Installed:
php.x86_64 0:5.3.3-48.el6_8
Dependency Installed:
libedit.x86_64 0:2.11-4.20080712cvs.1.el6 php-cli.x86_64 0:5.3.3-48.el6_8
php-common.x86_64 0:5.3.3-48.el6_8
Complete!
3. 설치된 php 확인
[root@localhost /]# php --version
PHP 5.3.3 (cli) (built: Aug 11 2016 20:33:53)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
관련자료
https://www.cmsfactory.net/node/10165
댓글목록
등록된 댓글이 없습니다.