On 64-bit machines, if you get the error:
configure: error: libcrypto not found!
edit the configure.php5 file, and change:
--with kerberos \
to be
--with-kerberos=/usr/lib64 \
and recompile php (./build php n)