I think it is just that lsphp does load the library in /opt/xml2/lib/, but load the one in /usr/lib64 .
You can check output of
Try setting LD_LIBRARY_PATH or LD_RUN_PATH environment see if it helps or not, but rpath should be build into the lsphp binary.
Which version of PHP and cPanel are you using?
Last edited by mistwang; 12-04-2010 at 06:29 PM..