This article shows you how to upgrade from any CentOS 6.x version to CentOS 6.5 using yum update command. Jul 18, 2011 upgrading from centos 5.6 to 6 User Name. When we need update packages from centos 5.6 to centos 6,i need to reinstall my systeme to centos 6 and repeting all my. I tried to update MySQL from 5.1 to 5.5 in CentOS 6.2. Update MySQL version from 5.1 to 5.5 in CentOS 6.2. Zpanel error after updating MySQL. I am using CentOS 5.6 on my desktop and would like to upgrade to CentOS 6.0. I tried changing the yum repos to point to CentOS 6 but no luck. How can I do the upgrade? ![]() I am sorry, if I caused any inconvenience. I was able to upgrade to PHP 5.6.9 by following the following instructions (Reference: ) To install, first you must add the Webtatic EL yum repository information corresponding to your CentOS/RHEL version to yum: CentOS/RHEL 7.x: rpm -Uvh rpm -Uvh CentOS/RHEL 6.x: rpm -Uvh Now you can install PHP 5.6 (along with an opcode cache) by doing: yum install php56w php56w-opcache If you would like to upgrade php to this version it is recommended that you first check that your system will support the upgrade, e.g. ![]() Making sure any CPanel-like software can run after the upgrade. Unless you know what you are doing, it is risky upgrading an existing system. It’s much safer to do this by provisioning a separate server to perform the upgrade as a fresh install instead. If you know what you are doing, you can upgrade PHP by: yum install yum-plugin-replace yum replace --enablerepo=webtatic-testing php-common --replace-with=php56w-common It will likely give you a message “WARNING: Unable to resolve all providers ”. This is normal, and you can continue by tying “y“. You will be given a chance to see what packages will be installed and removed before again being given a chance to confirm. The webtatic repo contains many packages with names that conflict with the names of packages in CentOS base and updates repos. This means that it replaces packages supplied by CentOS without warning. Examine your /var/log/yum.log and see what else got updated at the same time as the php packages were installed (or afterwards). Use rpm -qi $packagename to check to make sure that the buildhost is a CentOS one and that the signing key is the CentOS one for each of those. The IUS Community repo is a better source of replacement packages since they are all named differently than the ones CentOS supply so you have to take explicit action to install them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2018
Categories |