Friday, June 1, 2012

PHP CAPTCHA Not working in Ubuntu

PHP CAPTCHA Not working in Ubuntu PHP captcha blank in ubuntu can be solved by following ways.

 Solutions :
1. Check for GD library in phpinfo(). It must be as below The output of phpinfo(); ---------------------------------------------------------------------
GD Support enabled GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with free type
 FreeType Version 2.3.5
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled

 2. Make sure that the font is in the same dir, and it is readable and executable. The path to the file in the script might need to be changed to ./filename.ttf instead of filename.ttf.

No comments:

Post a Comment