Upgrading PHP on RHEL 4.6

I currently have a RHEL4.6 server that is hosting a MediaWIki v1.6.12 sire. The reason I stayed with that version for so long is that the default LAMP stack could properly run it without updating. But my users have requested a more current version be install so now it is time to upgrade it.  

Add the RHEL 4 install disk as a repository

For Red Hat Enterprise Linux 4 Copy the contents of the disk /media/cdrom/Redhat/RPMS to a directory of your choice. In /etc/sysconfig/rhn/sources, comment out the following line: up2date default This line needs to be commented out otherwise up2date will keep on looking for information using the Red Hat Network first. Next, in the same file, create…