When I try to install php 5.3 stable from source on Ubuntu (downloading compressed installation file from http://www.php.net/downloads.php) and I run ./configure I
./configure
this solution it gonna be ok on Redhat 8.0
sudo yum install libxml2-devel