Virtualmin GPL, ubuntu 12.04 and PHP4

5 posts / 0 new
Last post
#1 Fri, 06/07/2013 - 12:02
cygnus

Virtualmin GPL, ubuntu 12.04 and PHP4

Hi guys, sorry if it's already been asked but I didn't manage to find a clear answer about that.

I would like to install PHP4 to manage legacy websites on my server but I don't find anyway to make it.

When I try apt-get install php4, a message tells me that it's obsolete and can't be installed.

Is there any way to make it ?

Many thanks

Fri, 06/07/2013 - 14:06
andreychek

Howdy,

I'm unfortunately not familiar with a PHP4 package available for Ubuntu 12.04.

If you found one that could work alongside PHP5, Virtualmin would work with it -- but that's the biggest catch, since PHP4 reached it's End of Life in 2007, it's no longer considered safe to use, and it's difficult to find a packages providing it.

-Eric

Fri, 06/14/2013 - 04:04
cygnus

Thanks for your answer ;) Isn't it possible to install it manually and configure apache to use it for legacy websites ?

Fri, 06/14/2013 - 08:54
andreychek

That should be possible, though I don't have instructions on how to do that.

I believe Virtualmin looks for the presence of a file named "/usr/bin/php4-cgi" to determine if PHP4 is installed.

Just remember that this isn't recommended anymore though, since PHP4 hasn't had any security updates in 6 years :-)

-Eric

Fri, 06/14/2013 - 10:24
Locutus

One man's "legacy website" is another man's future botnet member. ;)

Strong suggestion: do NOT use php4 anymore or any website that requires it.

Topic locked