執行php安裝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
session
出現了第二次異常error: png.h not found.curl
解決辦法:socket
yum install libpng-devel
url