PHP (= Hypertext Preprocessor) is an HTML-embedded server-side scripting language.

PHP is distributed at no charge for commercial or non-commercial use. For more information read the LICENSE information.

More information about PHP can be found at:

PHP manuals can be found at:

The latest PHP version can be downloaded from:

rss feed

GD library

The GD library is mainly used for creating images at runtime. You can construct graphs, charts, etc. The GD library is a loadable extension module, which can be found in the <php>/extensions directory, see PHP installation procedure.

Operating system used
Windows XP Home Edition Version 5.1 SP 2

Software prerequisites

  1. To verify if the GD library is enabled, run the following script:


    Or use the <?php phpinfo(); ?> and ensure that GD support is enabled.

  2. To enable the GD library, change the following line in the php.ini
    (e.g.: c:\WINDOWS\php.ini) file:

    Uncomment line:

  3. Restart Apache.