0

It seems I am stuck with a 4yo build of PHP (PHP4.3.9 Built: 2007) and I am trying to upgrade. Right now, it's like a traffic puzzle, or a vicious cycle, whatever you want to call it. I try to upgrade PHP, but it depends on a newer httpd-mmn, so I try upgrading apr (apache/httpd) or installing a newer RPM of httpd, trying the RPM just says its the version i'm running (ya right) and upgrading apr has more dependencies, resulting in YUM trying to satisfy the dependencies for the new HTTPD it wants to install, but it has dependencies, apparently, in the new apr -.-. I can't really get out of this, rut, and would greatly appreciate help :).

Here is an example of trying to update apr and PHP

2
  • woop! need to add 1 thing to the log Commented Jul 4, 2011 at 4:09
  • added bit of code. Commented Jul 4, 2011 at 6:21

1 Answer 1

0

I suspect the simplest approach would be to upgrade the entire installation - which is generally good practice anyway. However having been caught in a trap due to closed source drivers (thanks Intel) I know that's not always a practical solution.

Have you considered compiling from source? Old versions of PHP are available back to 3.0. You'll need to install the dev packages for the dependant stuff you've already got installed - and don't forget to remove the PHP rpms before installing your compiled PHP (to avoid the package amanger overwriting your compiled code). NB make sure you can compile the PHP first!

2
  • Could you define "entire installation?", are you referring to centOS and everything, or apache and its components. I will see about trying this. Commented Jul 4, 2011 at 14:38
  • Yes - upgrade OS, webserver, php Commented Jul 7, 2011 at 10:52

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.