I has setted WITH_THREADS="YES" in /etc/make.conf, compliled libxml2, and then tryed compile lang/php5.
I got message from phps' conigure, that libxml2 is not usable(some function from pthread library not found.
Does PHP-5 not suppirt pthreads library?
--
Arseny Nasokin (aka Tarc)