我看了您的提示,是不是要改这里?php.sh文件里面:
if [ "${linux_type}" = 'RedHat' ]; then
if [ "$system_bit" = '64' ]; then
ln -s /usr/lib64/libpng* /usr/lib/
fi
extends='--with-gd --with-freetype-dir --with-jpeg-dir --with-png-dir'
else
extends='--with-gd=/usr/local/gd --with-freetype-dir=/usr/local/freetype --with-jpeg-dir=/usr/local/jpeg --with-png-dir=/usr/local/libpng'
fi