Posts Tagged ‘whm’

Verification Image Security Code Does Not Appear on phpLD Site

Wednesday, February 25th, 2009

I created a Web directory last week using phpLD, but I didn’t have time to test it until yesterday. When I tried to submit a link as a user, I noticed that the Verification Image Security Code (similar to Captcha), which helps prevent automated submissions, did not appear at all. Instead, it showed the text “Verification Image Security Code”.

I tried looking for a fix on the phpLD forum, but all I got was “your GD library is not be bundled with PHP”. I didn’t know what that meant, so I asked my Web host if GD (image library) was bundled with PHP on my server. The support guy asked me to create and run a phpinfo page to check. True enough, GD was not included in my PHP installation. So I went back to the support guy, and this time, he told me to “customize” my PHP installation.

I have a VPS hosting account, so I have access to Web Host Manager (WHM). These are the steps that I performed:

  1. Log into my WHM account.
  2. Click Software > EasyApache (Apache Update).
  3. In the list of profiles to load, click the PHP Image Manipulation option.
  4. Click Build Profile Now.
  5. Follow the rest of the instructions on the setup wizard.

That’s it. After I rebuilt my PHP installation, I went back to my phpLD site, and there it was, the image code that was missing. Problem fixed.

php-image-manipulation-gd1