
Eu tenho uma seguinte versão do CentOS:
$ cat /etc/issue
CentOS release 5.5 (Final)
Kernel \r on an \m
e seguinte versão do libxml:
$ php -i | grep libxml
libxml Version => 2.6.26
libxml
libxml2 Version => 2.6.26
libxslt compiled against libxml Version => 2.6.26
e precisa ter uma versão mais recente do libxml (principalmente para uso em PHP, mas obviamente, isso não importa).
Se eu instalar a versão mais recente do libxml de alguma forma:
wget ftp://xmlsoft.org/libxml2/libxml2-2.7.2.tar.gz
tar -xvf libxml2-2.7.2.tar.gz
cd libxml2-2.7.2
./configure
make
sudo make install
então não consigo fazê-lo funcionar em PHP - ainda existe uma versão antiga:
libxml Version => 2.6.26
libxml
libxml2 Version => 2.6.26
libxslt compiled against libxml Version => 2.6.26
O que mais preciso fazer para que a nova versão funcione com PHP?
Responder1
Foi necessário recompilar o PHP com nova versão da libxml. Mais lá:https://serverfault.com/a/305682/73850