Closed (duplicate)
Project:
CAPTCHA
Version:
6.x-2.4
Component:
Image Captcha (image_captcha)
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2011 at 01:57 UTC
Updated:
23 Apr 2011 at 14:33 UTC
CAPTCHA module says
The Image CAPTCHA module can not be installed because your PHP setup does not provide the GD library, which is required to generate images.
but
http://www.birdphotos.com/phpinfo.php
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
TIA,
Tom Friedel
Comments
Comment #1
soxofaan commentedAha, you have a setup with support for PNG, but not for JPEG? The GD-check does not anticipate for this (in image_captcha.module):
It would be interesting to know why this assumption (PNG enabled, JPEG disabled) does not work for you.
Can you describe your setup: is in on shared hosting? Did you compile everything yourself?
Comment #2
tomfriedel commentedI compiled everything myself a long time ago. So I need to figure out how to compile gd with jpeg?
Comment #3
soxofaan commentedTo be fair: recompiling with JPEG support will probably be the fastest solution for you I'm afraid. I (being the only maintainer currently) have almost no free time to invest anymore in maintenance and development, so fixing this in the CAPTCHA module is pretty unlikely in the short term.
Apart from these practicalities: is there a certain (compelling) reason you didn't compile with JPEG support (patent-related, performance-related, complexity-related, ...)? Or you just forgot at the time?
FYI: here are related issues:
#579080: image CAPTCHA in PNG format: check GDlib's PNG support
#589388: refactor _image_captcha_check_setup() for GD/JPEG/PNG support
and I think this one should be marked as duplicate.