I have php rpm that is confirmed by :
[root@d9024 root]# rpm -qa|grep php
but I think it is not configured with apache2 becoz when I run php file, it simply displays the text of the file..
you can check it out at http://www.fxbytes.com/php/phpinfo.php
Please help me in configuring it..