error: png.h not found.

执行php安装

--enable-mbstring --enable-ftp --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --enable-session --with-mcrypt --with-curl


出现了第二次异常error: png.h not found.


解决办法:

yum install libpng-devel

posted @ 2014-07-17 02:03  172257861  阅读(106)  评论(0编辑  收藏  举报