gd库安装方法

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
npgmis
帖子: 65
注册时间: 2007-08-28 16:42

gd库安装方法

#1

帖子 npgmis » 2007-11-23 23:58

各位晚上好,我安装的是ubuntu7.10 server 版,想在上面安装mrtg服务,安装成功了,但图形显示不了,好像需要安装gd库,我安装时选择的是LAMP,在网上查了些资料,说在重启编译PHP,真的要这样做吗?

如果需要重新编译,应该怎么安装,因为我在ubuntu上习惯了apt-get install如果需要自己编译应该怎么样操作


谢谢各位
头像
young40
帖子: 154
注册时间: 2006-10-27 18:15

#2

帖子 young40 » 2007-11-24 19:00

apt-get install php5-gd
pillarsource
帖子: 52
注册时间: 2007-06-22 10:35

#3

帖子 pillarsource » 2007-12-01 12:11

楼上的正解!在ubuntu下应该是:
sudo apt-get install php5-gd
QQ: 20144960 论坛,网店, 博客,维基,客户关系管理,流量统计等应用指南! www.pillarsource.org开源社区!
yxsh
帖子: 15
注册时间: 2007-09-27 22:02

#4

帖子 yxsh » 2008-03-14 11:31

可能2楼已经在root用户下了呢,

当然如果你不在root用户下也想成功那就要像三楼那样咯
头像
uulele
帖子: 180
注册时间: 2007-06-14 20:08
联系:

#5

帖子 uulele » 2008-03-17 23:20

一般都在root下吧,反正也觉得没什么。还diy起来方便
头像
Strange
帖子: 1824
注册时间: 2006-05-19 9:54
来自: Shanghai

#6

帖子 Strange » 2008-03-18 9:08

这个一般可不一般啊...
ニンニク入れますか?
x60 with gentoo
回复