Upgrading to PHP 5.2.2 and MySQL 5.0.41?

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
daskalou
Posts: 4
Joined: 2007/05/21 06:07:01

Upgrading to PHP 5.2.2 and MySQL 5.0.41?

Post by daskalou » 2007/05/21 06:27:49

Hi all,

The latest versions of PHP and MySQL in the CentOS 5 repository are:

PHP 5.1.6 (8 months old)
MySQL 5.0.22 (12 months old)

I would like to upgrade to the latest versions of each (PHP 5.2.2 and MySQL 5.0.41). I have 7 CentOS 5 machines that I would like to perform this upgrade on. What would be the best way to do this (easily and reliably)?

Cheers,

Nick

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: Upgrading to PHP 5.2.2 and MySQL 5.0.41?

Post by Lenard » 2007/05/21 12:15:01

[quote]
The latest versions of PHP and MySQL in the CentOS 5 repository are:

PHP 5.1.6 (8 months old)
MySQL 5.0.22 (12 months old)
[/quote]

Errr............ no they are for example:
[code]
php-5.1.6-12.el5.x86_64.rpm 09-May-2007 09:15
mysql-5.0.22-2.1.x86_64.rpm 04-Apr-2007 00:25
[/code]

Perhaps your comparing apples to oranges, going only by the version numbers????

http://www.redhat.com/advice/speaks_backport.html
https://rhn.redhat.com/errata/RHSA-2007-0348.html

[quote]
I would like to upgrade to the latest versions of each (PHP 5.2.2 and MySQL 5.0.41). I have 7 CentOS 5 machines that I would like to perform this upgrade on. What would be the best way to do this (easily and reliably)?
[/quote]

Download the source rpm packages for RHEL5 if available and build / install the binary rpm packages.

RemiFedora
Posts: 19
Joined: 2007/05/10 17:13:40
Location: Champagne...
Contact:

Re: Upgrading to PHP 5.2.2 and MySQL 5.0.41?

Post by RemiFedora » 2007/05/23 16:48:12

[quote]I would like to upgrade to the latest versions of each (PHP 5.2.2 and MySQL 5.0.41).[/quote]

You probably have not choosen the good distro.
Fedora is probably more what you want if you really need latest release.

Lastest release (for Fedora) are alvailable on my repo http://remi.collet.free.fr/rpms
EL5 build will come soon...

But it is not for production use.

Remi.

dyrer
Posts: 3
Joined: 2005/06/11 00:32:34
Contact:

Upgrading to PHP 5.2.2 and MySQL 5.0.41?

Post by dyrer » 2007/05/26 12:14:03

Why centos dont use the latest version and only after 6-12 month repositories are updated?

RemiFedora
Posts: 19
Joined: 2007/05/10 17:13:40
Location: Champagne...
Contact:

Re: Upgrading to PHP 5.2.2 and MySQL 5.0.41?

Post by RemiFedora » 2007/05/26 18:26:46

CentOS (and Redhat) never update to new version when it will break ABI compatibility.

And php-5.1.6 and php-5.2.2 are not ABI compatible.

php [b]5.1.6[/b] : Zend Module Api No: [b]20050922[/b]
php [b]5.2.2[/b] : Zend Module Api No: [b]20060613[/b]

If a security hole is discovered, fixes are backported to version provided.

Remi.

RemiFedora
Posts: 19
Joined: 2007/05/10 17:13:40
Location: Champagne...
Contact:

Re: Upgrading to PHP 5.2.2 and MySQL 5.0.41?

Post by RemiFedora » 2007/05/26 18:28:22

I you really want latest versions, have a look at my repo :

http://remi.collet.free.fr/rpms/el5.i386/
http://remi.collet.free.fr/rpms/el5.x86_64/

Remi

daskalou
Posts: 4
Joined: 2007/05/21 06:07:01

Re: Upgrading to PHP 5.2.2 and MySQL 5.0.41?

Post by daskalou » 2007/05/28 09:58:01

[quote]
Lenard wrote:

Perhaps your comparing apples to oranges, going only by the version numbers????[/quote]
Ahhh, indeed I was, thanks for clearing that up.

[quote]
Download the source rpm packages for RHEL5 if available and build / install the binary rpm packages.[/quote]
I'll give it a go...

Just wondering though, do the backports for eg. MySQL contain bug fixes as well as security updates?

If so, what would the differences be between the MySQL 5.0.22 that is in the CentOS 5 repository and MySQL 5.0.41 from the official MySQL site (besides enhancements + added features)?

Post Reply