1.configure: error: Please reinstall the libcurl distribution -
easy.h should be in /include/curl/
解决办法 yum install curl-devel
2.configure:error:xml2-config not found
解决办法 yum install libxml2-devel
3.出现错误:
CODE:
Fatal error: Error: cannot open phar
解决方法:
"/root/soft/php-5.2.10/pear/install-pear-nozlib.phar" in
/path/php-5.2.10/pear/install-pear-nozlib.phar on line 795
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
CODE:
编译参数里面加入:
--without-pear