LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-28-2012, 05:19 AM   #1
yelluc
LQ Newbie
 
Registered: Mar 2012
Location: UK
Distribution: CentOS, Ubuntu
Posts: 7

Rep: Reputation: Disabled
PHP 5.3.3+ on CentOS 5.8


Hi,

I have been Goggling everywhere for a way to install/update PHP 5.3.3 to a higher version 5.3.9-5.3.10 on CentOS 5.8 but for some reason it really looks like its not possible. I have seen guides on installing PHP 5.3.10 on CentOS 6.2.

I have searched for RPM packages and also building and compiling PHP 5.3.9-5.3.10 but there is not much on the net.

I just think its crazy that its not possible as, PHP 5.3.3 has I believe 39 vulnerabilities. I know Red Hat/CentOS don't have the latest updates right away but this seems abnormal.

Your thoughts would be much appreciated.

(I tried searching for a similar post but didn't have any luck, sorry if this is a re-post)

Regards
 
Old 03-28-2012, 05:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I think you're probably not up on the patching regime that Redhat takes. Redhat (and so, CentOS) won't provide newer minor versions of those packages, but they will back port any security or bug fixes from later versions to them. Check the RPM level changelogs for them and you *SHOULD* see any vuln you're concerned about being patched.

Remembers it's the only the original PHP source code that is genuinely known to be vulnerable. downstream, you can't assume that at all.
 
2 members found this post helpful.
Old 03-28-2012, 06:02 AM   #3
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi yelluc

have you tried to install it with yum from webtatic ?
 
1 members found this post helpful.
Old 03-28-2012, 08:23 AM   #4
yelluc
LQ Newbie
 
Registered: Mar 2012
Location: UK
Distribution: CentOS, Ubuntu
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
I think you're probably not up on the patching regime that Redhat takes. Redhat (and so, CentOS) won't provide newer minor versions of those packages, but they will back port any security or bug fixes from later versions to them. Check the RPM level changelogs for them and you *SHOULD* see any vuln you're concerned about being patched.

Remembers it's the only the original PHP source code that is genuinely known to be vulnerable. downstream, you can't assume that at all.
Hi thanks for the reply,

I have a read a little about the situation and I was under the assumption that Red Hat/CentOS didn't offer the latest release of software like PHP, Apache HTTPD etc. I did think that was strange, in that if a package is found to have a exploit then it would be insecure, I didn't realize that the package do get updated to include fixes for exploits,bugs but stay the same version number. This is what led to my confusion, I assume that if a package was updated to fix exploit & bugs the version number would increase.

I have now ran based on your advice(I didn't know about this command before, though I do recall now, seeing tidbits about viewing CVE updates via the command line)

Code:
rpm -q --changelog php53
And see that it has been updated to patch even the latest exploit/vunrebilitiy found on CVEDetails

I will be sure to check this regularly now on a range of packages. Thanks for the help.


Quote:
Originally Posted by lithos View Post
Hi yelluc

have you tried to install it with yum from webtatic ?
Thanks for replying,

I have installed the repo and have installed the package on a test server.

Code:
[root@localhost ~]# php -v
PHP 5.3.10 (cli) (built: Feb  2 2012 22:59:27) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
Thanks for the advice, I will now be planning on getting this on our live servers.

Much regards to both posters on the help and advice.
 
1 members found this post helpful.
Old 03-28-2012, 08:31 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I'd avoid third party packages unless you have a genuine need for features and functionality not available in the mainline. Don't chase pretty looking version numbers for no reason.
 
1 members found this post helpful.
Old 03-28-2012, 09:10 AM   #6
yelluc
LQ Newbie
 
Registered: Mar 2012
Location: UK
Distribution: CentOS, Ubuntu
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
I'd avoid third party packages unless you have a genuine need for features and functionality not available in the mainline. Don't chase pretty looking version numbers for no reason.
You do make a good point, If there is a exploit/vulnerability in 5.3.10 which their will undoubtedly will be I will be forced to wait for the third party packager to update wouldn't I?

I will follow you advice and just stick to 5.3.3, at least I know that its going to be maintained from the official repo's.

I will try and build/compile myself, that seems like the other solution.

Much Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update PHP on CentOS - missing dependency php-common AndyMillne Linux - Server 7 05-21-2013 06:34 AM
Upgrade from PHP Version 4.3.9 to PHP 5.2 on CentOS nuttynibbles Linux - Software 10 06-15-2010 02:35 PM
PHP Warning after upgrading from PHP 5.2.1 to 5.3.1 on CentOS rossie Linux - Newbie 4 12-20-2009 02:18 PM
Centos 5.2 running Apache 2 and PHP 4 cannot display info.php codenjanod Linux - Server 2 08-19-2008 02:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration