Welcome to Dagon Design. In addition to free scripts, WordPress plugins, and articles, we offer a variety of services including custom theme design, plugin creation, and PHP scripting. Contact me for more information.

Updated Sunday, April 23rd, 2006 at 4:16pm

Checking for GD support on your server

Several of the scripts and plugins on this site use the GD library to generate verification images. If you are having problems getting a generated image to display, the first step is to make sure your server has support for the GD library in PHP. This small script will tell you if your server supports GD, and if it does, it will list the specific components. For example, some versions of PHP/GD have problems generating PNG files. You can use this script to know if you need to change the script to generate a GIF instead, or if you just do not have support at all for GD.

Live Demo

Download

  If you have found this page useful, please consider donating. Thanks!

Instructions

Download the above file, rename it from .txt to .php, upload it to your server, and open it in your browser.

Pages: [3] 2 1 » Show All

  1. Thanks for the hints!

  2. Vielen Dank für diesen Vorschlag. Ich schicke Dir einen Gruß aus Deutschland.

    Thanks for the suggestion. I send you regards from Germany.

  3. Runf: One thing to try is making sure you are consistent with the URL options for your site in the script. If your options use ‘www.test.com’ but you are viewing the site without the ‘www.’ that can cause several verification scripts out there to not work, as the cookie used to hold the verification code things the domain is different.

  4. I have had the GB working at my personal site, jazzdrummer.com for quite some time now.
    I’m trying to set up a GB for a client. I’ve been having no luck with the verification. I’ve tried so many combinations of permissions and path variations that I’ve lost count.
    As a last resort, I copied my working GB to the new site, changed the paths where applicable but otherwise copied exactly the working GB files and set permissions the same as the working GB. No luck.
    Please help. It seems many people are having trouble with the validation images. GD is supported by my server btw.
    Thanks.

  5. Thanks, very useful, it sure would be great to have a dedicated hosting facility so we wouldn’t have to make go through channels to make those changes.

  6. 33
    WormSlayer

    win!

  7. Thanks, It really helped me on my new server.
    It will be good if you put some information on installing GD.

  8. 31
    Darken

    Thanks for this little tool.

Pages: [3] 2 1 » Show All

Leave a Comment

Before you comment: If you are having an issue with a script, please make sure you have read the entire article. Also, please read through the comments because most common issues have already been discussed many times. Thanks.


Be sure to wrap all code in <code></code> tags.