编程语言
首页 > 编程语言> > php 编译安装

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

 

 




 

标签:5.6,tar,libxml2,30,devel,编译,php,安装
来源: https://www.cnblogs.com/cyanrose/p/11544466.html