Luka
Luka

Reputation: 1801

Update Cent OS packages?

I just Installed Cent OS 6.5 and I am amazed with a few things.

Why the PHP version is only 5.3.3, MySQL 5.1.73, Apache 2.2.15?

If I run the yum commands to update them no updates are found.

Is there a reason the default installation contains so old versions and how to update them to the latest one please?

Upvotes: 0

Views: 85

Answers (2)

SunLynx
SunLynx

Reputation: 57

Please try below

yum update php*

If you have rpm package then you can use rpm -U option to upgrade existing packages.

Upvotes: 0

Karl
Karl

Reputation: 5473

Running these two commands should install a newer version of the EPEL repo, enabling you to install a newer version of PHP, etc, but you should find the repository which has the versions which you require.

 wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
 rpm -ivh epel-release-6-8.noarch.rpm

Upvotes: 1

Related Questions