Monday 18 August 2014

How to install GD and Free type library for captchas to work?

In this guide i will show you the way to install GD and free type library to use them for captcha or for any other work, its easy to install these libraries from Apache panel, this handy guide will show you how to do this.



While using CMS or developing website we need captchas to reduce spam and if we want to use our own captchas instead of third party we have to install GD and free type libraries, for many WordPress users it become difficult to install GD and free type library as it is necessary for contact form 7 captcha plugin, so lets start to install GD and free type library.

Requirements

A VPS or dedicated server : VPS or dedicated server is needed to install GD and free type libraries as shared and reseller hosting doesnot have Web host manager, if you are using shared or reseller hostng then ask to your provider to install it for you, mostly all web hosts will install it on your order without and charge.
Web Host Manager (WHM) : WHM is required in this method, this method is for linux web servers.

Procedure for installation

Follow the procedure given below to install GD and Free type libraries :
  1. Open WHM using your website IP address e.g  : 192.168.11:2087
  2. Login using your Username and password, 
  3. Click on Software,
  4.  Now choose "Easy Apache", server will check for updates first, after that it will redirect to Easy Apache page,
  5. Now click on setting in your difficult profile . (Its better to create backup before, use small button with setting will automatically download backup to your PC) 
  6. Now choose difficult settings and continue 
  7. Here click on "Exhaustive options" . 
  8. Now Go to PHP section and the select "GD type", then move downward and find "TTF (Free type library) and also select it, 
  9. Then click on "Build Apache", and select OK 
  10. Now Apache will rebuild, wait for 3-4 minute and don't close window. (If you close it may damage your server) 
  11. After Apache is rebuild save settings and close WHM, now GD and free type libraries are installed, you can verify it by following method.

Verification for installation

You can verify your installation by following method :
  1. Create a page name phpinfo.php 
  2. ADD following code to it,
    <?php
    
    // Show all information, defaults to INFO_ALL
    phpinfo();
    
    ?>
  3. Upload it to your server,
  4. Now open it in your browser, it will tell you everything about VPS including information about GD. 

    Hope this guide help you, i write this guide to help you as i caught in problem last days, my problem was that i am not finding Free type library option in WHM, but when i ask from support person, he tell me that it is called TTF in WHM, after that i succeeded, i think you get help from this, if you have any probably then ask from me, if i can help you, i will glad to you. Thanks

No comments:

Post a Comment