linux php支持jpeg首先要安裝libjpeg,运行下面的命令:

  1. yum install libjpeg* libpng* freetype* gd*

耐心等待完成,重启(service httpd restart)就可以了。

相关文章: