PHP 4 in Ubuntu 7.04

Asked by Rinaldus

I work with bugged CMS which doesn't work with PHP 5, it requires PHP 4. But I didn't find PHP 4 in Ubuntu repositories. I found story in Ubuntu user's live journal that he says that he installed PHP 4 on Ubuntu 7.04. But it was several months ago. Probably developers removed PHP 4 from their repositories. Where can I find .deb package with PHP 4 and its module for Apache?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu php4 Edit question
Assignee:
No assignee Edit question
Solved by:
Wrwrwr
Solved:
Last query:
Last reply:
Revision history for this message
Best Wrwrwr (wrwrwr) said :
#1

Add edgy universe repository to your sources.list. Php4 is there, but it may be hard to get it working:
http://packages.ubuntu.com/edgy/web/php4

Revision history for this message
Rinaldus (pitersv) said :
#2

Thanks Wrwrwr, that solved my question.

Revision history for this message
Fionn (fbe) said :
#3

This may sound ridiculous but I need to know:

I have a customer who is running a very large project on PHP4. Because of subtle object usage details in programming, a port to PHP5 would be pretty identical to a complete rewrite and is not financially feasible because of short budgets (like everywhere). However a server upgrade is on the list (they still run sarge) and I need to know if anyone knows about a ppa or something where there may be some sort of more-or-less-maintained backport repository for ANY ubuntu version which still has support for at least one year. The last part relates to the ubuntu version, not to the php4 repo, just to avoid misunderstandings. I'd really like to migrate them to Ubuntu but php4 is mandatory.

Any answers greatly appreciated!