centos_php5.5_upgrade
This is an old revision of the document!
PHP 5.5 on CentOS 6
http://stackoverflow.com/questions/21502656/upgrading-php-on-centos-6-5-final
php --version rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm yum remove php-common Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Remove Process Resolving Dependencies --> Running transaction check ---> Package php-common.x86_64 0:5.3.3-46.el6_6 will be erased --> Processing Dependency: php(api) = 20090626 for package: php-mcrypt-5.3.3-4.el6.x86_64 --> Processing Dependency: php(zend-abi) = 20090626 for package: php-mcrypt-5.3.3-4.el6.x86_64 --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-cli-5.3.3-46.el6_6.x86_64 --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-mbstring-5.3.3-46.el6_6.x86_64 --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-gd-5.3.3-46.el6_6.x86_64 --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-5.3.3-46.el6_6.x86_64 --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-mysql-5.3.3-46.el6_6.x86_64 --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-xml-5.3.3-46.el6_6.x86_64 --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-pdo-5.3.3-46.el6_6.x86_64 --> Running transaction check ---> Package php.x86_64 0:5.3.3-46.el6_6 will be erased ---> Package php-cli.x86_64 0:5.3.3-46.el6_6 will be erased --> Processing Dependency: php-cli >= 5.1.0-1 for package: 1:php-pear-1.9.4-4.el6.noarch ---> Package php-gd.x86_64 0:5.3.3-46.el6_6 will be erased ---> Package php-mbstring.x86_64 0:5.3.3-46.el6_6 will be erased ---> Package php-mcrypt.x86_64 0:5.3.3-4.el6 will be erased ---> Package php-mysql.x86_64 0:5.3.3-46.el6_6 will be erased ---> Package php-pdo.x86_64 0:5.3.3-46.el6_6 will be erased ---> Package php-xml.x86_64 0:5.3.3-46.el6_6 will be erased --> Running transaction check ---> Package php-pear.noarch 1:1.9.4-4.el6 will be erased --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================================================================================= Package Arch Version Repository Size ======================================================================================================================================================================================= Removing: php-common x86_64 5.3.3-46.el6_6 @updates 2.9 M Removing for dependencies: php x86_64 5.3.3-46.el6_6 @updates 3.5 M php-cli x86_64 5.3.3-46.el6_6 @updates 6.2 M php-gd x86_64 5.3.3-46.el6_6 @updates 324 k php-mbstring x86_64 5.3.3-46.el6_6 @updates 2.1 M php-mcrypt x86_64 5.3.3-4.el6 @epel 46 k php-mysql x86_64 5.3.3-46.el6_6 @updates 216 k php-pdo x86_64 5.3.3-46.el6_6 @updates 168 k php-pear noarch 1:1.9.4-4.el6 @base 2.2 M php-xml x86_64 5.3.3-46.el6_6 @updates 307 k Transaction Summary ======================================================================================================================================================================================= Remove 10 Package(s) Installed size: 18 M Is this ok [y/N]: Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. Erasing : php-mysql-5.3.3-46.el6_6.x86_64 1/10 Erasing : php-5.3.3-46.el6_6.x86_64 2/10 Erasing : 1:php-pear-1.9.4-4.el6.noarch 3/10 Erasing : php-cli-5.3.3-46.el6_6.x86_64 4/10 Erasing : php-pdo-5.3.3-46.el6_6.x86_64 5/10 Erasing : php-mbstring-5.3.3-46.el6_6.x86_64 6/10 Erasing : php-gd-5.3.3-46.el6_6.x86_64 7/10 Erasing : php-mcrypt-5.3.3-4.el6.x86_64 8/10 Erasing : php-xml-5.3.3-46.el6_6.x86_64 9/10 Erasing : php-common-5.3.3-46.el6_6.x86_64 10/10 warning: /etc/php.ini saved as /etc/php.ini.rpmsave Verifying : php-xml-5.3.3-46.el6_6.x86_64 1/10 Verifying : php-pdo-5.3.3-46.el6_6.x86_64 2/10 Verifying : php-cli-5.3.3-46.el6_6.x86_64 3/10 Verifying : php-mcrypt-5.3.3-4.el6.x86_64 4/10 Verifying : php-5.3.3-46.el6_6.x86_64 5/10 Verifying : php-gd-5.3.3-46.el6_6.x86_64 6/10 Verifying : php-common-5.3.3-46.el6_6.x86_64 7/10 Verifying : php-mbstring-5.3.3-46.el6_6.x86_64 8/10 Verifying : php-mysql-5.3.3-46.el6_6.x86_64 9/10 Verifying : 1:php-pear-1.9.4-4.el6.noarch 10/10 Removed: php-common.x86_64 0:5.3.3-46.el6_6 Dependency Removed: php.x86_64 0:5.3.3-46.el6_6 php-cli.x86_64 0:5.3.3-46.el6_6 php-gd.x86_64 0:5.3.3-46.el6_6 php-mbstring.x86_64 0:5.3.3-46.el6_6 php-mcrypt.x86_64 0:5.3.3-4.el6 php-mysql.x86_64 0:5.3.3-46.el6_6 php-pdo.x86_64 0:5.3.3-46.el6_6 php-pear.noarch 1:1.9.4-4.el6 php-xml.x86_64 0:5.3.3-46.el6_6 Complete! yum -y install php55w yum -y install php55w-gd yum -y install php55w-mbstring yum -y install php55w-mcrypt yum -y install php55w-myswl yum -y install php55w-mysql yum -y install php55w-pdo yum -y install php55w-pear yum -y install php55w-xml
centos_php5.5_upgrade.1449705725.txt.gz ยท Last modified: 2015/12/09 19:02 by juckins