just enjoy with the ./configure , make , and make install process.
for recompile php :
./configure --blahblah
balhbalah--all of the modules(features) you want to compile with php.
** all modules that need additional libarary to run should have be compiled before you compile your php.
just sit back and enjoy it.