主题: 关于php5.2.10的升级问题
今天因为业务需求要检查一下php的版本发现
# /usr/bin/php -v
PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
目前在使用的php是5.1.6的新的应用需要5.2.3+的支持,yum了一下php发现:
yum install php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror01.idc.hinet.net
* base: mirror01.idc.hinet.net
* extras: data.nicehosting.co.kr
* updates: mirror01.idc.hinet.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: php = 5.1.6-27.el5 for package: php-devel
---> Package php.i386 0:5.2.10-1.el5.centos set to be updated
--> Processing Dependency: php-cli = 5.2.10-1.el5.centos for package: php
--> Processing Dependency: php-common = 5.2.10-1.el5.centos for package: php
--> Running transaction check
---> Package php-cli.i386 0:5.2.10-1.el5.centos set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-gd
--> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-xml
--> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-imap
--> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-pdo
--> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-mysql
--> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-mbstring
--> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-ldap
---> Package php-common.i386 0:5.2.10-1.el5.centos set to be updated
---> Package php-devel.i386 0:5.2.10-1.el5.centos set to be updated
--> Running transaction check
---> Package php-gd.i386 0:5.2.10-1.el5.centos set to be updated
---> Package php-imap.i386 0:5.2.10-1.el5.centos set to be updated
---> Package php-ldap.i386 0:5.2.10-1.el5.centos set to be updated
---> Package php-mbstring.i386 0:5.2.10-1.el5.centos set to be updated
---> Package php-mysql.i386 0:5.2.10-1.el5.centos set to be updated
---> Package php-pdo.i386 0:5.2.10-1.el5.centos set to be updated
---> Package php-xml.i386 0:5.2.10-1.el5.centos set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================
Updating:
php i386 5.2.10-1.el5.centos iRedMail 1.2 M
Updating for dependencies:
php-cli i386 5.2.10-1.el5.centos iRedMail 2.4 M
php-common i386 5.2.10-1.el5.centos iRedMail 240 k
php-devel i386 5.2.10-1.el5.centos iRedMail 549 k
php-gd i386 5.2.10-1.el5.centos iRedMail 112 k
php-imap i386 5.2.10-1.el5.centos iRedMail 49 k
php-ldap i386 5.2.10-1.el5.centos iRedMail 31 k
php-mbstring i386 5.2.10-1.el5.centos iRedMail 1.1 M
php-mysql i386 5.2.10-1.el5.centos iRedMail 80 k
php-pdo i386 5.2.10-1.el5.centos iRedMail 62 k
php-xml i386 5.2.10-1.el5.centos iRedMail 98 k
Transaction Summary
=======================================================================================================================
Install 0 Package(s)
Upgrade 11 Package(s)
Total size: 5.9 M
Total download size: 2.4 M
请问php能否升级?如果有兼容性问题的话就暂缓了,盼高手指教一下:),现在iredmail的版本是0.6.0,现在mail系统是在生产环境中的不想出故障:)