|
|
| Author |
Message |
Philippe
Joined: 18 Dec 2006 Posts: 6
|
Posted: Mon Dec 18, 2006 2:10 am Post subject: Problem with GD module |
|
|
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 |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Mon Dec 18, 2006 3:18 am Post subject: Re: Problem with GD module |
|
|
| 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. |
|
| Back to top |
|
 |
Philippe
Joined: 18 Dec 2006 Posts: 6
|
Posted: Mon Dec 18, 2006 3:49 am Post subject: |
|
|
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 ?? |
|
| Back to top |
|
 |
Philippe
Joined: 18 Dec 2006 Posts: 6
|
Posted: Wed Dec 20, 2006 2:06 am Post subject: |
|
|
I got php from EASYPHP 1.7
When I look in the EasyPHP administration webpage, I see "gd" in the loaded extensions.... |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Wed Dec 20, 2006 3:59 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
crackrocksteady
Joined: 06 Dec 2006 Posts: 45 Location: Perth , Australia
|
Posted: Wed Dec 20, 2006 4:01 am Post subject: |
|
|
| You probably just need to uncomment php_gd2.dll from the extensions section in your php.ini |
|
| Back to top |
|
 |
crackrocksteady
Joined: 06 Dec 2006 Posts: 45 Location: Perth , Australia
|
Posted: Wed Dec 20, 2006 4:02 am Post subject: |
|
|
Sorry,
Should read better next time...
Apologies. |
|
| Back to top |
|
 |
Philippe
Joined: 18 Dec 2006 Posts: 6
|
Posted: Tue Dec 26, 2006 3:03 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|