LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2012, 08:46 AM   #1
renkcub
LQ Newbie
 
Registered: Apr 2012
Posts: 3

Rep: Reputation: Disabled
CAPTCHA issue on VPS


I have installed a script that uses CAPTCHA. however I am unable to view the CAPTCHA image. the requirements for CAPTCHA is PHP 4/5 with GD and FreeType libraries.

When I run phpinfo I already have php5 with GD enabled. However, just for the sake of it, I reinstalled it again restarted apahche with no luck.

I a using Plesk 10.4
 
Old 05-27-2012, 11:10 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi and welcome to LQ,

Quote:
the requirements for CAPTCHA is PHP 4/5 with GD and FreeType libraries.

When I run phpinfo I already have php5 with GD enabled.
So you have GD, but do you have freetype installed too?

Regards
 
Old 05-27-2012, 11:19 AM   #3
renkcub
LQ Newbie
 
Registered: Apr 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
I thought GD included freetype

See below (all is enable)

GD Support enabled
GD Version 2.0
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.4.2
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.44
WBMP Support enabled
 
Old 05-27-2012, 11:52 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
If you're running your php script through apache, check apache logs to see what is wrong.
And give us more details, like distro, apache/php version, how did you install them, the captcha script, etc

Regards
 
Old 05-29-2012, 07:33 PM   #5
renkcub
LQ Newbie
 
Registered: Apr 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
I figured it out! …..the reason why the image was not showing was because the path of the image was wrong. after path was corrected....presto the image is now showing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The captcha-breaking industry dugan General 11 01-06-2012 03:58 AM
Issue with receiving emails from other domains on dovecot mail server on VPS leapingfoxmm Linux - Server 2 10-05-2011 09:29 PM
captcha in squirrelmail unix.fresher Linux - Server 12 03-27-2010 12:52 PM
Need help diagnosing a remote server (vps) issue. jim.thornton Linux - Server 7 07-08-2008 12:22 AM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration