1: 安装libxml2
1 tar zxvf libxml2-2.6.32.tar.gz 2 cd libxml2-2.6.32 3 ./configure --prefix=/usr/local/libxml2 4 make 5 make install2 安装php
#tar zvxf php-5.5.14.tar.gz
#cd php-5.5.14
#./configure \
--prefix=/usr/local/php
--with-mysql=mysqlnd
--with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd
--with-apxs2=/usr/local/apache2/bin/apxs
--with-libxml-dir=/usr/ local/libxml2
#make
#make install