免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 9518 | 回复: 6
打印 上一主题 下一主题

[Web] cacti如何安装配置php weathermap? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-11-29 16:37 |只看该作者 |倒序浏览
10可用积分
完成了CACTI监控的部署,现在需要安装和配置PHPWEATHERMAP的插件,请问各位配置过CACTI+PHP Weathermap Plugin的大侠看看如下的问题:


http://www.my.server.ip/cacti/plugins/weathermap/editor.php用来检查对WEATHERMAP所需的环境检查,出现日如下的警告,

Required PHP extensions are not present in your mod_php/ISAPI PHP module. Please check your PHP setup to ensure you have the GD extension installed and enabled.

If you find that the weathermap tool itself is working, from the command-line or Cacti poller, then it is possible that you have two different PHP installations. The Editor uses the same PHP that webpages on your server use, but the main weathermap tool uses the command-line PHP interpreter.

You should also run check.php to help make sure that there are no problems.

同样,在http://www.my.server.ip/cacti/plugins/weathermap/check.php检查的如下:请看附件。

请问下,如何完成PHP WEATHERMAP的配置?之前是否有大家成功配置过PHP WEATHERMAP的呢》

PHP.JPG (111.89 KB, 下载次数: 121)

PHP.JPG

论坛徽章:
0
2 [报告]
发表于 2007-12-02 21:37 |只看该作者

回复 #1 chinalonen 的帖子

安装gd库,重新测试后看结果。正常的话就简单了,和安装其他插件一样配置一下就可以了。

论坛徽章:
0
3 [报告]
发表于 2007-12-15 23:55 |只看该作者
哪有没有这个插件的中文使用手册啊?全英语的看不懂,装了不会用!

论坛徽章:
0
4 [报告]
发表于 2007-12-18 10:20 |只看该作者
tar xzvf gd-2.0.34.tar.gz
cd gd-2.0.34
./configure --prefix=/usr/local/modules/gd --with-jpeg=/usr/local/modules/jpeg6 --with-png --with-zlib=/usr/local/modules/zlib --with-freetype=/usr/local/modules/freetype && make && make install
应该在编译lamp时就要把环境搭建好,这个库要在jpeg ,png,zlib,freetype库之后安装然后重新编译下php把所有的库都加上就可以了

论坛徽章:
0
5 [报告]
发表于 2008-06-18 11:25 |只看该作者
缺少php-gd这个包

论坛徽章:
0
6 [报告]
发表于 2008-06-18 20:58 |只看该作者
英语是基础,还是努力学习下吧,要不然以后问题还多着呢

论坛徽章:
0
7 [报告]
发表于 2008-07-10 14:27 |只看该作者
兄弟说得很对呀,
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP