PDA

View Full Version : PHP4 support on FC5?


ivago
17th February 2006, 07:35 PM
Hi,

cause I'm running php code that is incompatible with PHP5 I'm still need PHP4.

At the moment I have 2 FC4 servers wich use the PHP4 rpm's from the FC3 extras repo as described in this tutorial wich work fine on my x86_64 hardware

http://www.mjmwired.net/resources/mjm-php4-fc4.html

I need to install a new server. did somebody managed to install PHP4, in a more or less easy way, on FC5 testx because I'm not sure to wait for FC5 or choose Debian instead.

All by all it's a pitty Fedora doesn't provide PHP4 rpm's as an alternative.

jowah
17th February 2006, 10:39 PM
I need to install a new server. did somebody managed to install PHP4, in a more or less easy way, on FC5 testx because I'm not sure to wait for FC5 or choose Debian instead.Server? Need PHP4? I suggest you take a look at CentOS 4 (http://www.centos.org/) instead.

ivago
18th February 2006, 12:01 PM

cool, I see they use PHP 4.3.9, RPM's seem to come from the RHEL4 branch.

I'm using Fedora since day one for server use. Still have a FC1 box running samba with a 600 days uptime on basic hardware, so FC does the job for me :)

But CentOS looks promising and could be the answer to my question.

But does this mean that FC is going to be more desktop oriented (like Ubuntu vs Debian) and CentOS/RHEL/RHAS to be the way to go for server admins?

jowah
18th February 2006, 12:15 PM
But does this mean that FC is going to be more desktop oriented (like Ubuntu vs Debian) and CentOS/RHEL/RHAS to be the way to go for server admins?Fedora is related to RHEL in this way - Fedora is the testing ground for things that might later end up in a RHEL release. RHEL4 (and therefore CentOS 4, since it's built with RHEL4 sources) is more or less based on FC3, IIRC.

I wouldn't say that FC is more "desktop oriented", since you can use RHEL4/CentOS4 as a desktop OS too. Think of FC more as a "wee, new stuff!" OS whereas RHEL4 is the "mature and stable, oldish but working" variant. RHEL4/CentOS is very suitable for servers because of this and the fact that they are supported/kept up to date for five years. Fedora Core releases are shorter-lived.

Hope that helps!

gavinw6662
18th February 2006, 02:14 PM
would the FC3 binary work if you tried to install it on FC5?? I know some fc3 rpms work in FC4....

mjmwired
27th February 2006, 02:51 AM
I'm not sure how well the FC3 php4.rpm will work with FC5. I am in the process of testing this.

Fedora will probably never support older releases as their goal is really to support the newest releases of most software.

For future PHP4 on FC5 (and onwards), your best choice will be to re-compile PHP4 (which isn't too much work). Hopefully I will update the guide you listed to show how to do this.

mjmwired
8th April 2006, 01:09 AM
I've recompiled the PHP4 SRC.RPM and made some modifications so that it will work on FC5 (as well as FC4). If anyone is interested, they can find some updated information on my newer guide:

http://www.mjmwired.net/resources/mjm-fedora-php4.html

I have PHP4 fully functional in FC5 as I did in FC4 and FC3. Comments appreciated.