Thread:Project:Support desk/does not recognize PHP

MediaWiki 1.18.1 PHP 2.3.0 RHEL 5.4

I first installed an older version of php from the rpm that came with RHEL but that version was too old. I then downloaded, compiled and PHP from source. Mediawiki still saw the old version of PHP, I did an "rpm -e" on the old version of php and if I now type php at the command line I get version 2.3.0. When I go to the mediawiki page I get an error that states "This is the main web entry point for MediaWiki. If you are reading this in your web browser your server is not configured correctly to run PHP applications". What is not configured correctly. I'm not even sure if this is an improperly configured PHP, Apache, or MediaWiki.

Thank you