[root@devtest1 init.d]# yum -y install php
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php to pack into transaction set.
php-4.3.9-3.22.i386.rpm 100% |=========================| 23 kB 00:00
---> Package php.i386 0:4.3.9-3.22 set to be updated
--> Running transaction check
--> Processing Dependency: php-pear for package: php
--> Processing Dependency: httpd-mmn = 20020903 for package: php
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for httpd to pack into transaction set.
httpd-2.0.52-28.ent.cento 100% |=========================| 62 kB 00:01
---> Package httpd.i386 0:2.0.52-28.ent.centos4 set to be updated
---> Downloading header for php-pear to pack into transaction set.
php-pear-4.3.9-3.22.i386. 100% |=========================| 33 kB 00:01
---> Package php-pear.i386 0:4.3.9-3.22 set to be updated
--> Running transaction check
--> Processing Dependency: libaprutil-0.so.0 for package: httpd
--> Processing Dependency: apr >= 0.9.4-24.2 for package: httpd
--> Processing Dependency: libapr-0.so.0 for package: httpd
--> Processing Dependency: httpd-suexec for package: httpd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for apr to pack into transaction set.
apr-0.9.4-24.5.c4.2.i386. 100% |=========================| 7.7 kB 00:00
---> Package apr.i386 0:0.9.4-24.5.c4.2 set to be updated
---> Downloading header for apr-util to pack into transaction set.
apr-util-0.9.4-21.i386.rp 100% |=========================| 5.2 kB 00:00
---> Package apr-util.i386 0:0.9.4-21 set to be updated
---> Downloading header for httpd-suexec to pack into transaction set.
httpd-suexec-2.0.52-28.en 100% |=========================| 22 kB 00:01
---> Package httpd-suexec.i386 0:2.0.52-28.ent.centos4 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php i386 4.3.9-3.22 update 1.3 M
Installing for dependencies:
apr i386 0.9.4-24.5.c4.2 base 88 k
apr-util i386 0.9.4-21 base 51 k
httpd i386 2.0.52-28.ent.centos4 base 888 k
httpd-suexec i386 2.0.52-28.ent.centos4 base 28 k
php-pear i386 4.3.9-3.22 update 267 k
Transaction Summary
=============================================================================
Install 6 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 2.6 M
Downloading Packages:
(1/6): apr-0.9.4-24.5.c4. 100% |=========================| 88 kB 00:01
(2/6): apr-util-0.9.4-21. 100% |=========================| 51 kB 00:01
(3/6): httpd-2.0.52-28.en 100% |=========================| 888 kB 00:12
(4/6): php-pear-4.3.9-3.2 100% |=========================| 267 kB 00:04
(5/6): php-4.3.9-3.22.i38 100% |=========================| 1.3 MB 00:20
(6/6): httpd-suexec-2.0.5 100% |=========================| 28 kB 00:00
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821
Public key for apr-0.9.4-24.5.c4.2.i386.rpm is not installed
Retrieving GPG key from http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
Importing GPG key 0x443E1821 "CentOS-4 key <centos-4key@centos.org>"
Key imported successfully
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: apr ######################### [1/6]
Installing: apr-util ######################### [2/6]
Installing: httpd ######################### [3/6]
Installing: httpd-suexec ######################### [4/6]
Installing: php ######################### [5/6]
Installing: php-pear ######################### [6/6]
Installed: php.i386 0:4.3.9-3.22
Dependency Installed: apr.i386 0:0.9.4-24.5.c4.2 apr-util.i386 0:0.9.4-21 httpd.i386 0:2.0.52-28.ent.centos4 httpd-suexec.i386 0:2.0.52-28.ent.centos4 php-pear.i386 0:4.3.9-3.22
Complete!
[root@devtest1 init.d]# php -v
PHP 4.3.9 (cgi) (built: Nov 7 2006 05:00:50)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php to pack into transaction set.
php-4.3.9-3.22.i386.rpm 100% |=========================| 23 kB 00:00
---> Package php.i386 0:4.3.9-3.22 set to be updated
--> Running transaction check
--> Processing Dependency: php-pear for package: php
--> Processing Dependency: httpd-mmn = 20020903 for package: php
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for httpd to pack into transaction set.
httpd-2.0.52-28.ent.cento 100% |=========================| 62 kB 00:01
---> Package httpd.i386 0:2.0.52-28.ent.centos4 set to be updated
---> Downloading header for php-pear to pack into transaction set.
php-pear-4.3.9-3.22.i386. 100% |=========================| 33 kB 00:01
---> Package php-pear.i386 0:4.3.9-3.22 set to be updated
--> Running transaction check
--> Processing Dependency: libaprutil-0.so.0 for package: httpd
--> Processing Dependency: apr >= 0.9.4-24.2 for package: httpd
--> Processing Dependency: libapr-0.so.0 for package: httpd
--> Processing Dependency: httpd-suexec for package: httpd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for apr to pack into transaction set.
apr-0.9.4-24.5.c4.2.i386. 100% |=========================| 7.7 kB 00:00
---> Package apr.i386 0:0.9.4-24.5.c4.2 set to be updated
---> Downloading header for apr-util to pack into transaction set.
apr-util-0.9.4-21.i386.rp 100% |=========================| 5.2 kB 00:00
---> Package apr-util.i386 0:0.9.4-21 set to be updated
---> Downloading header for httpd-suexec to pack into transaction set.
httpd-suexec-2.0.52-28.en 100% |=========================| 22 kB 00:01
---> Package httpd-suexec.i386 0:2.0.52-28.ent.centos4 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php i386 4.3.9-3.22 update 1.3 M
Installing for dependencies:
apr i386 0.9.4-24.5.c4.2 base 88 k
apr-util i386 0.9.4-21 base 51 k
httpd i386 2.0.52-28.ent.centos4 base 888 k
httpd-suexec i386 2.0.52-28.ent.centos4 base 28 k
php-pear i386 4.3.9-3.22 update 267 k
Transaction Summary
=============================================================================
Install 6 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 2.6 M
Downloading Packages:
(1/6): apr-0.9.4-24.5.c4. 100% |=========================| 88 kB 00:01
(2/6): apr-util-0.9.4-21. 100% |=========================| 51 kB 00:01
(3/6): httpd-2.0.52-28.en 100% |=========================| 888 kB 00:12
(4/6): php-pear-4.3.9-3.2 100% |=========================| 267 kB 00:04
(5/6): php-4.3.9-3.22.i38 100% |=========================| 1.3 MB 00:20
(6/6): httpd-suexec-2.0.5 100% |=========================| 28 kB 00:00
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821
Public key for apr-0.9.4-24.5.c4.2.i386.rpm is not installed
Retrieving GPG key from http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
Importing GPG key 0x443E1821 "CentOS-4 key <centos-4key@centos.org>"
Key imported successfully
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: apr ######################### [1/6]
Installing: apr-util ######################### [2/6]
Installing: httpd ######################### [3/6]
Installing: httpd-suexec ######################### [4/6]
Installing: php ######################### [5/6]
Installing: php-pear ######################### [6/6]
Installed: php.i386 0:4.3.9-3.22
Dependency Installed: apr.i386 0:0.9.4-24.5.c4.2 apr-util.i386 0:0.9.4-21 httpd.i386 0:2.0.52-28.ent.centos4 httpd-suexec.i386 0:2.0.52-28.ent.centos4 php-pear.i386 0:4.3.9-3.22
Complete!
[root@devtest1 init.d]# php -v
PHP 4.3.9 (cgi) (built: Nov 7 2006 05:00:50)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
KsharP
2007-01-31
KsharP
QQ:284841013
MSN:ksharp1229@hotmail.com
Email:zhuheng1229@gmail.com
Homepage:http://ksharp.anyp.cn
没有评论:
发表评论