linux.ChinaUnix.net
首页 | 新闻 | Linux | FreeBSD | AIX | Windows | 博客 | 论坛 | 存储 | 网络 | 人才 | Wiki | 资料 | 读书 | 手册 | 下载 | 空间 | 搜索
  免费注册 | 忘记密码 | 会员登录 | 搜索 | 帮助 


[Web] cacti如何安装配置php weathermap?


  首页 » 首页 » CU论坛 » Linux » 汇总贴列表 » 服务器应用 »
[打印] [收藏] [本帖文本页] [推荐此主题给朋友]

未解决

悬赏金额: 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



回复 #1 chinalonen 的帖子

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



哪有没有这个插件的中文使用手册啊?全英语的看不懂,装了不会用!
__________________________________
承接WEB服务器安全漏洞评估方案、企业网络/电脑/服务器维护、网站设计、网站SEO、软件开发/CRM/OA/ERP二次开发、企业网站设计!
http://www.vcoole.com



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把所有的库都加上就可以了



缺少php-gd这个包



英语是基础,还是努力学习下吧,要不然以后问题还多着呢



兄弟说得很对呀,


Copyright © 2001-2010 ChinaUnix.net All Rights Reserved     联系我们:

感谢所有关心和支持过ChinaUnix的朋友们    转载本站内容请注明原作者名及出处

京ICP证041476号


清除 Cookies - Linux时代 - Archiver - WAP - TOP

GMT+8, 2010-02-10 03:46, Processed in 0.019910 second(s), 8 queries, Gzip enabled.