Problems upgrading PHP

We have a dedicated server on an offsite location with the following specs:

Red Hat 8.0
Apache 2.0.40
mySQL 3.23.58
PHP 4.2.2

I have attempted to upgrade PHP to the 4.3.10 version due to security issues in our current version. This is mainly due to a forum I'm in the process of getting together.
The forum is from Simple Machines. I attempted to get help though them, but alas they were unable to help. One of the members recommended you guys. The original thread at Simple Machines is -
simplemachines.org/community/index.php?topic=24895.0

Last attempt at installing php gave me this error:
apxs:Error: Invalid query string `APU_BINDIR'.
apxs:Error: Invalid query string `APR_BINDIR'.
./configure: line 1: /apr-config: No such file or directory
./configure: line 1: /apu-config: No such file or directory
configure: error: Please note that Apache version >= 2.0.44 is required.

If anyone has any insight into what I need to do to resolve this, please help...After all the searching on the internet and forums, I'm at the end of my rope...

 

 

 

 

Top