Old Linux distro with PHP4?

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Old Linux distro with PHP4?

Post by Roja »

I'm setting up a dedicated testing machine for a variety of projects at home. However, both my host online and my other testing machine are running OS's with PHP5 as the standard.

I'd like to still be able to test against PHP4, so I need to find a Linux/Unix distro that has PHP4 as the standard package.

I'm most comfortable with Fedora, Debian, and OpenBSD.

Any clues?

(And no, I would prefer not to compile my own).
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Can you get your hands on a copy of FC2 or FC3? I think they both run PHP 4 by default. I have FC 4, but I think that the default PHP install is 5. Anyhow, if you want a copy of the FC4 install CD's I can send you some. PM me if you want a copy.

PS I can't look into my FC4 machine right becuase I porked the hard drive somehow. If I can get back into it, I will verify the default PHP install.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Gentoo lets you choose:

emerge -pv dev-lang/php4
emerge -pv dev-lang/php5

Gentoo also offers a tool to switch between the two but I forget the name.
Post Reply