you should uninstall you rpm package for apache and php
and get apache and php source package,
at
http://www.php.net you can get help for compiling the source code and install it.
Good lucky;
if any problem, please email you trouble to me:
djianzhou@yahoo.com