RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
安装php:configure:error:libpng.(a|so)notfound解决办法

今天在安装PHP的时候.

创新互联建站专注为客户提供全方位的互联网综合服务,包含不限于成都做网站、成都网站设计、包河网络推广、小程序设计、包河网络营销、包河企业策划、包河品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们最大的嘉奖;创新互联建站为所有大学生创业者提供包河建站搭建服务,24小时服务热线:13518219792,官方网址:www.cdcxhl.com

./configure --prefix=/usr/local/php5 --with-gd --with-zlib --with-MySQL=/usr/local/mysql/ --with-config-file-path=/usr/local/php5 --enable-mbstring --enable-fpm

先是报出如下错误:

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

解决办法:

安装libxml2-devel,因为rpm -aq |grep libxml2 的时候显示libxml2本身已经安装;

 yum -y install libxml2

解决之后再次configure, 这次报出如下错误:

configure: error: libpng.(a|so) not found

 yum install libpng

解决之道差不多, 同样通过安装libpng-devel解决.


本文题目:安装php:configure:error:libpng.(a|so)notfound解决办法
网站路径:http://sczitong.cn/article/jjddej.html