实验·PHP手工编译报错收集
执行操作
./configure \
--prefix=/usr/local/php5 \
--with-gd \
--with-zlib \
--with-apxs2=/usr/local/httpd/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-config-file-path=/usr/local/php5 \
--enable-mbstring
报错提示:
“configure error xml2-config not found. please check your libxml2 installation”
解决办法:
yum -y install libxml2 libxml2-devel
安装完之后重新执行即可解决