Problem with GD module

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
Philippe
Posts: 6
Joined: Mon Dec 18, 2006 1:51 am

Problem with GD module

Post by Philippe »

Hello everybody,

first, sorry for my very poor english.
I have a problem using weathermap plugin.

In the cacti log file, I have this message : " Poller [0] Required modules for PHP Weathermap were not present. Not running.
[...]
no image (gd) extension is loaded. This is required by weathermap".

I have uncommented the line "extension=php_gd2.dll" in the php.ini file, then restarted the apache server, but always the same error.

When I try "php -m", I didn't see "gd" in [PHP Modules]

I'm using cacti under Windows XP with cacti 0.8.6h and PHP 4.3.3

I need some help.

Thanks
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Problem with GD module

Post by Howie »

Philippe wrote:Hello everybody,

first, sorry for my very poor english.
I have a problem using weathermap plugin.

In the cacti log file, I have this message : " Poller [0] Required modules for PHP Weathermap were not present. Not running.
[...]
no image (gd) extension is loaded. This is required by weathermap".

I have uncommented the line "extension=php_gd2.dll" in the php.ini file, then restarted the apache server, but always the same error.

When I try "php -m", I didn't see "gd" in [PHP Modules]

I'm using cacti under Windows XP with cacti 0.8.6h and PHP 4.3.3

I need some help.

Thanks
You need to install the PHP gd module. The method for doing that depends on where you got PHP from. Is it the php.net binary, or something like XAMMP, WAMP etc?

Also, try searching your computer for php_gd2.dll, in case it is somewhere funny.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Philippe
Posts: 6
Joined: Mon Dec 18, 2006 1:51 am

Post by Philippe »

I can find the file php_gd2.dll in "php\extensions" directory.
With Windows XP, I don't know if I have to install something else ??
Philippe
Posts: 6
Joined: Mon Dec 18, 2006 1:51 am

Post by Philippe »

I got php from EASYPHP 1.7

When I look in the EasyPHP administration webpage, I see "gd" in the loaded extensions....
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Philippe wrote:I got php from EASYPHP 1.7

When I look in the EasyPHP administration webpage, I see "gd" in the loaded extensions....
There are two PHP modes - the webpage mode (mod_php for apache), which the Cacti user interface and your admin page uses, and the command line mode (php.exe) which the Cacti poller and Weathermap uses.

It's the output of php -i on the command-line that you need to check.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
crackrocksteady
Posts: 45
Joined: Wed Dec 06, 2006 12:02 am
Location: Perth , Australia

Post by crackrocksteady »

You probably just need to uncomment php_gd2.dll from the extensions section in your php.ini
crackrocksteady
Posts: 45
Joined: Wed Dec 06, 2006 12:02 am
Location: Perth , Australia

Post by crackrocksteady »

Sorry,

Should read better next time...

Apologies.
Philippe
Posts: 6
Joined: Mon Dec 18, 2006 1:51 am

Post by Philippe »

Hello,

I think I made something wrong installing cacti because I have reinstalled all the software and it works now !

Thank you very much for your help.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests