php 编译安装

yum install gcc bison bison-devel zlib-devel libmcrypt-devel mcrypt mhash-devel openssl-devel libxml2-devel libcurl-devel bzip2-devel readline-devel libedit-devel sqlite-devel jemalloc jemalloc-devel libpn  libpng-devel libjpeg-devel freetype-devel -y

wget http://cn2.php.net/distributions/php-5.6.30.tar.gz

tar zvxf php-5.6.30.tar.gz

cd php-5.6.30

./configure

 make && make install

php安装报错:

configure: error: xml2-config not found. Please check your libxml2 installation.

yum install libxml2 libxml2-devel -y

 

 



 

上一篇:python-从lxml导入etree的“未定义符号:__xmlStructuredErrorContext”


下一篇:c – 将静态库与其他静态库链接