Help - Search - Members - Calendar
Full Version: PHP 4.3.9 and up2date
The Planet Forums > Operating Systems > Red Hat Linux
Ampersand
Hi, I'm a newbie and don't want to wreck my server. It has RHED 4, Apache 2.0.x and PHP 4.3.9.


I want to upgrade PHP to 4.4.9 but the highest up2date available is 4.3.9. I assume it is for good reason. Or, is it simply because it isn't a priority. Can anyone help?

Also, I am nervous about compiling. Never done it. Can anyone direct me to good sources?


Thanks
Catalyst
Like many packages, PHP isn't updated on EL4 except for security patches. PHP5 has been out for ages now as "stable," and all of the newer operating systems than the aging EL4 use it.

I'd suggest not compiling. PHP is a tricky beast, and requires numerous patches on top to make it secure --- there's a whole lot more to it than simple downloading the source and hitting "make install."

Unfortunately, most people have given up on php4. The latest I was able to scour was 4.4.3. You might consider using a reputable source to update to at least 5.1.6 or 5.2.6 (since 5.2.8 and higher require far too many more changes).
Teddy Chan
QUOTE (Catalyst @ Mar 27 2009, 02:06 AM) *
Like many packages, PHP isn't updated on EL4 except for security patches. PHP5 has been out for ages now as "stable," and all of the newer operating systems than the aging EL4 use it.

I'd suggest not compiling. PHP is a tricky beast, and requires numerous patches on top to make it secure --- there's a whole lot more to it than simple downloading the source and hitting "make install."

Unfortunately, most people have given up on php4. The latest I was able to scour was 4.4.3. You might consider using a reputable source to update to at least 5.1.6 or 5.2.6 (since 5.2.8 and higher require far too many more changes).



Hi friend,
may i know how to update to 5.2x?

as my RH only have 5.1.6
when i use yum update php*
it said no update is available.


Penguin
You may want to read the following article which explains how backporting works: http://www.redhat.com/security/updates/bac...ng/?sc_cid=3093. Basically, Redhat keep the version numbers the same and backport fixes into them to maintain compatability for installed applications. This means that your hosted sites should not experience any issues in the future due to an OS package update provided by Redhat, whereas as manually compiled update may well affect hosted sites due to changes. it also means however that the version numbers to not update to the latest version, however they do include all security and bugfixes.
eth00
If you want 5.2 you will have to look outside up2date. You have to be careful as it is easy to mess the system up if you are not familiar with this.

The two big choices are

1) Setup a 3rd party repo (such as rpmforge) which has php 5.2
2) Source compile php

As others have said you have to be careful in doing this. If you do not have any control panel and are somewhat comfortable with linux servers it is not too bad to source compile, the problem comes with all the dependencies...those can take awhile to resolve if you are not familiar with it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.