当前位置:首页 > 操作系统 > Linux

linux下yum为php安装gd库

  1. [root@jbxue ~]# yum install php-gd*
  2. Setting up Install Process
  3. Setting up repositories
  4. base 100% |=========================| 951 B 00:00
  5. update 100% |=========================| 951 B 00:00
  6. ================================================
  7. GD Support enabled
  8. GD Version bundled (2.0.28 compatible)
  9. FreeType Support enabled
  10. FreeType Linkage with freetype
  11. FreeType Version 2.2.1
  12. GIF Read Support enabled
  13. GIF Create Support enabled
  14. JPG Support enabled
  15. PNG Support enabled
  16. WBMP Support enabled
  17. XBM Support enabled

很简单的,包括 freetype,jpeg,png等扩展库一并安装,比编译安装省事多了。


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!